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
- :
- Re: Uninstaller Shortcut : restart issue
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎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
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 17, 2012
06:29 PM
try this : " -runfromtemp -l0x0409 -removeonly "
szProgram1 = "\""+szProgram +"\""+ " -runfromtemp -l0x0409 -removeonly " ;
l is small L (means language and 409 is the code for English)
szProgram1 = "\""+szProgram +"\""+ " -runfromtemp -l0x0409 -removeonly " ;
l is small L (means language and 409 is the code for English)
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 27, 2012
04:22 AM
Thanks for the solution
🙂
I will try it!
🙂
I will try it!
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)