Quote:
Originally Posted by Privat
Fabioddq, everything is beautiful and everything works fine Win7 64bit, but when uninstalling I have such trouble
how can I fix it? Thanks
|
Delete this line in InstallerScript.iss:
#define ProductCode "{E3B9C5A9-BD7A-4B56-B754-FAEA7DD6FA88}"
Search too for Far Cry 3, and put // in the front of:
Quote:
//RegWriteStringValue(HKLM, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninsta ll\' + ProductCode, 'AuthorizedCDFPrefix', '');
//RegWriteStringValue(HKLM, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninsta ll\' + ProductCode, 'Comments', '');
//RegWriteStringValue(HKLM, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninsta ll\' + ProductCode, 'Contact', '');
RegWriteStringValue(HKLM, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninsta ll\' + ProductCode, 'DisplayIcon', ExpandConstant('{app}\bin\farcry3.ico,0'));
RegWriteStringValue(HKLM, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninsta ll\' + ProductCode, 'DisplayName', 'Far Cry 3');
RegWriteStringValue(HKLM, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninsta ll\' + ProductCode, 'DisplayVersion', '1.01');
//RegWriteDWordValue(HKLM, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninsta ll\' + ProductCode, 'EstimatedSize', 5969540);
//RegWriteStringValue(HKLM, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninsta ll\' + ProductCode, 'GameLink', ExpandConstant('{app}\deadspace2.exe'));
//RegWriteStringValue(HKLM, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninsta ll\' + ProductCode, 'HelpLink', '');
//RegWriteStringValue(HKLM, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninsta ll\' + ProductCode, 'HelpTelephone', '');
RegWriteStringValue(HKLM, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninsta ll\' + ProductCode, 'InstallDate', DateString);
RegWriteStringValue(HKLM, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninsta ll\' + ProductCode, 'InstallLocation', ExpandConstant('{app}\'));
RegWriteStringValue(HKLM, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninsta ll\' + ProductCode, 'InstallSource', ExpandConstant('{src}\'));
RegWriteDWordValue(HKLM, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninsta ll\' + ProductCode, 'Language', 0);
//StrToInt(ExpandConstant('{cm:LanguageNR}')));
RegWriteExpandStringValue(HKLM, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninsta ll\' + ProductCode, 'ModifyPath', ExpandConstant('{uninstallexe}'));
RegWriteDWordValue(HKLM, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninsta ll\' + ProductCode, 'NoModify', 1);
RegWriteDWordValue(HKLM, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninsta ll\' + ProductCode, 'NoRepair', 1);
RegWriteStringValue(HKLM, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninsta ll\' + ProductCode, 'Publisher', 'Ubisoft');
RegWriteStringValue(HKLM, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninsta ll\' + ProductCode, 'ProductGuid', ProductCode);
RegWriteExpandStringValue(HKLM, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninsta ll\' + ProductCode, 'Readme', '');
//RegWriteStringValue(HKLM, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninsta ll\' + ProductCode, 'Size', '');
RegWriteStringValue(HKLM, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninsta ll\' + ProductCode, 'UninstallString', ExpandConstant('"{uninstallexe}"'));
RegWriteStringValue(HKLM, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninsta ll\' + ProductCode, 'URLInfoAbout', 'http://support.ubi.com');
//RegWriteStringValue(HKLM, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninsta ll\' + ProductCode, 'URLUpdateInfo', '');
RegWriteDWordValue(HKLM, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninsta ll\' + ProductCode, 'Version', 16777216);
RegWriteDWordValue(HKLM, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninsta ll\' + ProductCode, 'VersionMajor', 1);
RegWriteDWordValue(HKLM, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninsta ll\' + ProductCode, 'VersionMinor', 0);
|
I will update soon. Thanks for feedback.
|