cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not applicable

Uninstaller Shortcut : restart issue

Hi,

I am using InstallShield 2010, I added the uninstaller shortcut.
When I want to uninstall the product using that shortcut, I always get the window of reboot request, Or, this is not required in my product. I don't want to restart the machine each time I uninstall the product.
Could you please tell me what am I missing?
Is there an option to add in InstallShield to say that the uninstall does not require a system reboot?
here is the code of the uninstaller shortcut action:
<<
function SetupUninstallShorcut()
STRING zIconPath,szProgram,svUninstExDll, svUninstLogFile,szProgram1,szIconPath;
NUMBER nResult;
begin
nResult = CreateShellObjects( "" );
szProgram = DISK1TARGET+"\\"+DISK1SETUPEXENAME;
ChangeDirectory(DISK1TARGET);
szIconPath = TARGETDIR ^ "Setup.ico" ;
szProgram1 = "\""+szProgram +"\""+ " -removeonly" ;
AddFolderIcon("myApplicationName", "Uninstaller",szProgram1, TARGETDIR,szIconPath,0,"",REPLACE);
end;
>>

Thanks
Labels (1)
0 Kudos

(2) Replies
KEiGHT
Level 6

try this : " -runfromtemp -l0x0409 -removeonly "

szProgram1 = "\""+szProgram +"\""+ " -runfromtemp -l0x0409 -removeonly " ;


l is small L (means language and 409 is the code for English)
0 Kudos
Not applicable

Thanks for the solution
🙂

I will try it!
0 Kudos