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.
LVL 15
gplanaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

-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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Installation

From novice to tech pro — start learning today.