alukindo Posted May 14, 2008 Report Share Posted May 14, 2008 Hello: I need to write a LabVIEW installer that will reboot and resume the install process by executing a known exe. Is there a way to do this in the LabVIEW installer or can one write a batch file or script that will invoke reboot and then launch the target exe? I was thinking of getting WISE installer or Install Shield to help do this. But then this reboot and re-run feature is the only missing thing in my current installer. Thanks Anthony Quote Link to comment
Karissap Posted May 14, 2008 Report Share Posted May 14, 2008 I use Inno Setup to create installers for some LabVIEW programs, I've found it really good to use plus it's free but you could certainly use one of the others. As for a batch file to restart and resume, there is an option to run a program after the installation in the default LabVIEW installer creator. To resume the installation on reboot I would use the "RunOnce" registry key under HKLM/Software/Microsoft/Windows/CurrentVersion, so the program will only run once AFTER reboot, and then windows will remove the entry from your the registry http://support.microsoft.com/kb/179365 Alternatively you could create a shortcut in the startup folder of the start menu that gets deleted after installation if you don't want to use the registry. To actually restart the computer use the "shutdown -r" command in the batch file, you can use other options to display prompts and timers etc. Quote Link to comment
crelf Posted May 14, 2008 Report Share Posted May 14, 2008 QUOTE (Karissap @ May 13 2008, 12:11 AM) I use Inno Setup to create installers for some LabVIEW programs, I've found it really good to use plus it's free but you could certainly use one of the others. I generally use Setup2Go - it's free with a nag screen, altough I paid the $US29 to get rid of it. That said, I'm moving slowly over to InstallShield Express as I need to include different options/groups in installers now - it's a lot more expensive (~$US500), but has a handful of features that I really need. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.