|
|
|
#1
|
||||
|
||||
|
Ok guys,
so here is the problem when using external scripts like custom icons, shortcuts and the Registry script. When uninstalling the game, it does not remove the Program folder in Start Menu and the Registry keys still remain despite the game is uninstalled. If you have time, please implement this option. Here is the script. Please try it. Thanks. ![]() Edit: I managed to delete the program folder in Start Menu --> Code:
[UninstallDelete]
Type: filesandordirs; Name: "{userprograms}\{groupname}"
/me embarrassed... ![]() Well, the Registry entries "issue" is still there. Last edited by Proxson; 08-01-2020 at 08:33. |
| Sponsored Links |
|
#2
|
||||
|
||||
|
*knock...knock...anybody home ?
![]() Edit: Ok, I got the Registry "issue" under control. It's not an elegant solution but it works. Till someone finds something better. Code:
#define AppPublisher "SEGA" Code:
{ remove product code registry entrie }
if ProductCode <> '' then
RegDeleteKeyIncludingSubkeys(HKLM, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\' + ProductCode);
RegDeleteKeyIncludingSubkeys(HKLM, 'SOFTWARE\{#AppPublisher}');
end;
end;
Last edited by Proxson; 07-01-2020 at 17:12. |
|
#3
|
||||
|
||||
|
Quote:
There will be some bugs with these changes. The About page has stopped working. You can change the script for your use, but I ask you to keep the About page working and original by displaying the credits of the original CIU contributors and translators. Answering your question: CIU does not create an uninstaller as in conventional Inno Setup installers (Unis000.exe, Unis000.dat). Uninstall.exe from the installation folder is the same Setup.exe file that is copied to the folder and the uninstall functions are all defined in the code section. Therefore the installer does not remove icons included in the [Icons] section, so you must include them in the code within the CreateShortcuts and DeleteShortcuts functions. The [UninstallDelete] section is also not supported on CIU as the default uninstallation of Inno Setup is never performed. You can include the functions of deleting folders or files within the Uninstall function of code. NOTES: You have removed almost all languages, this can cause errors. I would not recommend these changes all in the script the way you did. You could simply have limited the languages you want to make available in Setup.ini or disabled the lines in the [Files] section and changed only in GetLanguage and also the part in CheckAvaiLanguages where you changed to: if (TmpStr2 in ['HR', 'ENUK', 'EN']) then |
|
#4
|
||||
|
||||
|
Sorry, I removed all that stuff to make the CIU smaller. Regarding the 'About' page, it wasn't intentionally. I was so ocupied with this icons and registry issues.
The 'About' page will return back again. Sorry again. My intention was not to discredit anyone who worked on this project. Removing unnecessary languages didn't affect the CIU integrity. It's working without any problems. Looks like you've faced me against the wall. So script with icons won't work in a regular way...hmm. I'm dropping the subject.
Last edited by Proxson; 07-01-2020 at 21:50. |
| The Following User Says Thank You to Proxson For This Useful Post: | ||
devil777 (12-01-2020) | ||
|
#5
|
||||
|
||||
|
Quote:
Credit must always be given or kept in place.
__________________
Can't find a Game Conversion? Check the 'Conversion INDEX'
![]() |
|
#6
|
||||
|
||||
|
@Cesar,
here is the CIU by default. Nothing removed from the script. No icon and registry script. It still leaves the empty Publisher folder in the Start Menu ! I have noticed a strange thing, as long as you don't open the Publisher folder, in this case SEGA, the uninstaller will delete it, otherwise it won't. The script has already all constants in the uninstall part such as {commonprograms} and {userprograms}. So, in other words, I can't do jack sh*t. Heck, someone would say, stop whining. Delete it manually. But that's not the point, ![]()
|
|
#7
|
||||
|
||||
|
here it works also
i used win 8.1 x64
__________________
It would be nice if you appreciate my work with the thanks Button |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| INDEX - Conversion Tutorial Index | Razor12911 | Conversion Tutorials | 5 | 11-06-2020 02:05 |
| [GSERIES] Custom Installer Ultimate V2g | Gupta | Conversion Tutorials | 226 | 01-06-2018 13:12 |
| Crysis 3 DVD9 to 3xDVD5 Custom Installer | spawniectes | PC Games - CD/DVD Conversions | 79 | 31-08-2017 07:19 |