There is no "uninstall" function for .zip files, that must be provided by the software developer, or if you have a bit of computer skill, you can even make one yourself with programs such as Install Creator, or of course choose any other installation creator that you like (many are available free). You would need the original zip to make an installer and uninstaller, however. This would be useful for future installations, so you won't need to manually remove the files every time.
Thank you, BaRR. Yes, I still have the zip archive I used in my last Wrye Bash installation. It is ”
Wrye Bash 190.zip“. I didn't know of such installation creator programs you mention, probably they could be useful for what I intended: I could create an installer/uninstaller and use it to reinstall and then uninstall Wrye Bash. However, my computer skills are limited and I'm not sure if it would make up for the effort, in this particular case. In this particular case, I think I'll rather try the solution provided by BC_Programmer in Reply #4.
Some ZIP programs have a option to save a file listing- for example, PowerArchiver has a option to export the file list to a text file.
if you can create a listing of the files in the zip, you can use the following batch file to selectively delete only those files present in the zip archive:
@echo off
for /f %%P in ('type listing.txt') do del %%P
Save that with notepad in your oblivion folder. listing.txt would be a text files that only contains the files in the zip.
Here is one way you can generate a listing of the files:
extract the zip to a different folder, and then create a small batch file in that folder:
@echo off
dir /b > listing.txt
save it in the new folder you've temporarily extracted the zip to. It will generate a listing of the files in the zip (except folders, but those are hopefully not quite a pain to delete, I hope)
Now you copy that listing.txt to the oblivion folder where the first batch file resides, and run the first one. It will delete all the files listed in the ZIP listing you generated .
*be sure to create the listing with a NEW folder where the zip is extracted*
This solution interests me. I'll try to do it! I don't have PowerArchiver, but in WinRar I opened the archive - ”
Wrye Bash 190.zip“. Then I used the menu Tools>Generate report, then in the
Generate report window I de-selected all the default options and clicked 'OK'. This created the report file ”
Wrye Bash 190.txt“ in the same directory as ”
Wrye Bash 190.zip“, listing files (with the full paths) but
also the folders within the archive. It is as follows:
Data
Data\Bash Patches
Data\Bash Patches\Bash_Groups.csv
Data\Bash Patches\Bash_MFact.csv
Data\Bash Patches\Guard_Names.csv
Data\Bash Patches\Leveled Lists.csv
Data\Bash Patches\Rational_Names.csv
Data\Bash Patches\TI to Cobl_Formids.csv
Data\Docs
Data\Docs\Bash Readme Template.html
Data\Docs\Bash Readme Template.txt
Data\Docs\Bashed Lists.html
Data\Docs\Bashed Lists.txt
Data\Docs\wtxt_sand_small.css
Data\Docs\wtxt_teal.css
Data\INI Tweaks
Data\INI Tweaks\Autosave, Never.ini
Data\INI Tweaks\Autosave, ~Always.ini
Data\INI Tweaks\Grass, Fade 4k-5k.ini
Data\INI Tweaks\Save Backups, 1.ini
Data\INI Tweaks\Save Backups, 2.ini
Data\INI Tweaks\Save Backups, 3.ini
Data\INI Tweaks\Save Backups, 5.ini
Mopy
Mopy\balt.py
Mopy\bash.py
Mopy\basher.py
Mopy\bashmon.py
Mopy\bish.py
Mopy\bolt.py
Mopy\bosh.py
Mopy\bush.py
Mopy\Data
Mopy\Data\Actor Levels
Mopy\Data\Actor Levels\OOO, 1.23 Mincapped.csv
Mopy\Data\Actor Levels\OOO, 1.23 Uncapped.csv
Mopy\Data\Oblivion_ids.pkl
Mopy\Extras
Mopy\Extras\Bashed Patch, 0.esp
Mopy\Extras\Blank.esp
Mopy\gpl.txt
Mopy\images
Mopy\images\bash_16.png
Mopy\images\bash_16_blue.png
Mopy\images\bash_32.ico
Mopy\images\bash_32.png
Mopy\images\bash_32_2.png
Mopy\images\bash_32_blue.png
Mopy\images\checkbox_black_on.png
Mopy\images\checkbox_blue_imp.png
Mopy\images\checkbox_blue_inc.png
Mopy\images\checkbox_blue_off.png
Mopy\images\checkbox_blue_on.png
Mopy\images\checkbox_blue_on_32.png
Mopy\images\checkbox_green_imp.png
Mopy\images\checkbox_green_inc.png
Mopy\images\checkbox_green_off.png
Mopy\images\checkbox_green_on.png
Mopy\images\checkbox_green_on_32.png
Mopy\images\checkbox_orange_imp.png
Mopy\images\checkbox_orange_inc.png
Mopy\images\checkbox_orange_off.png
Mopy\images\checkbox_orange_on.png
Mopy\images\checkbox_purple_imp.png
Mopy\images\checkbox_purple_inc.png
Mopy\images\checkbox_purple_off.png
Mopy\images\checkbox_purple_on.png
Mopy\images\checkbox_red_imp.png
Mopy\images\checkbox_red_inc.png
Mopy\images\checkbox_red_off.png
Mopy\images\checkbox_red_on.png
Mopy\images\checkbox_red_x.png
Mopy\images\checkbox_yellow_imp.png
Mopy\images\checkbox_yellow_inc.png
Mopy\images\checkbox_yellow_off.png
Mopy\images\checkbox_yellow_on.png
Mopy\images\doc_on.png
Mopy\images\dos.PNG
Mopy\images\help.png
Mopy\images\karma_zero.png
Mopy\images\oblivion.png
Mopy\images\obmm.png
Mopy\images\save_off.png
Mopy\images\save_on.png
Mopy\images\tes4view.png
Mopy\images\tescs.png
Mopy\images\WryeBash_01.png
Mopy\images\WryeBash_02.png
Mopy\images\WryeBash_03.png
Mopy\images\WryeBash_04.png
Mopy\images\WryeBash_05.png
Mopy\images\WryeBash_06.jpg
Mopy\images\WryeBash_07.png
Mopy\images\WryeBash_08.png
Mopy\images\wrye_monkey_87.jpg
Mopy\images\zoom_on.png
Mopy\locale
Mopy\locale\de.txt
Mopy\locale\Italian.txt
Mopy\locale\pt_opt.txt
Mopy\locale\Russian.txt
Mopy\Wrye Bash for Python 2.4.lnk
Mopy\Wrye Bash for Python 2.5.lnk
Mopy\Wrye Bash.html
Mopy\Wrye Bash.txt
Note that Data; Data\Bash Patches; Data\Docs; Data\INI Tweaks; Mopy; Mopy\Data; Mopy\Data\Actor Levels; Mopy\Extras; Mopy\images; Mopy\locale, are all folders and subfolders, not files. According to your instructions, I would now write the following batch file, replacing only ”listing.txt“ by ”Wrye Bash 190.txt“:
@echo off
for /f %%P in Wrye Bash 190.txt do del %%P
I'll name it ”Wrye Bash 190.bat“. Then I would place ”Wrye Bash 190.txt“ and ”Wrye Bash 190.bat“ both in the Oblivion folder. But then, if I run ”Wrye Bash 190.bat“ will not only the files but also the folders listed in ”Wrye Bash 190.txt“ be deleted? I cannot risk to delete Data folder, for instance, because it contains most other files and folders not coming from Wrye Bash installation, which are important for the game to run. Should I manually remove the folders listed in ”Wrye Bash 190.txt“ and leave only the files, to avoid the risk of deleting important game folders? Or rather, the Batch file you wrote will delete only the files, but not the folders listed in ”Wrye Bash 190.txt“?