This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Uninstaller Shortcut : restart issue
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎May 09, 2012
04:50 AM
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
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
(2) Replies