[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1866
  • Last Modified:

How to force a reboot on InstallScript (InstalShield DevStudio 9)

Dear Expert:

I have an installation program which needs to reboot if the operating system is Windows Vista to make wrok our product properly.

Is there any built-in function from InstallScript to accomplish this ? I'm using InstallShield DevStudio 9 and the project is in InstallScript MSI project type.

Thank you.
0
gplana
Asked:
gplana
  • 3
1 Solution
 
-eVe-Commented:
I have been creating installer wraps for Dutch ministries for over five years and our most important goal turned out to be "not to irritate the users". Because rebooting the system is rather annoying, and because not being able to start a application you just installed is equally disturbing, I wrote a user-friendly version of "Shutdown" in Visual C++. You can have the source and binary if you want?
0
 
gplanaAuthor Commented:
Thank you, but I would prefer to use InstallShield Built-ins. Actually, I think I found a solution for myself for that. I'm testing it now....
0
 
gplanaAuthor Commented:
I found a solution. Instead of callling SdFinish, just call SdFinishReboot. There is a parameterto activate the radiobutton for reboot by default, and the final choice is for user.

Also there are default text for every language.
0
 
gplanaAuthor Commented:
I found a solution. Instead of callling SdFinish, just call SdFinishReboot. There is a parameterto activate the radiobutton for reboot by default, and the final choice is for user.

Also there are default text for every language.
0

Featured Post

Take Control of Web Hosting For Your Clients

As a web developer or IT admin, successfully managing multiple client accounts can be challenging. In this webinar we will look at the tools provided by Media Temple and Plesk to make managing your clients’ hosting easier.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now