Visit our LabVIEW Wiki Code Distribution Portal
![]() |
May 13 2008, 01:17 AM
Post
#1
|
|
|
Very Active Member Posts: 89 Joined: 11-March 05 Member No.: 1804 Using LabVIEW Since:1997 LV:8.2.1 ,8.20 ,7.1.1
My Gallery
|
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 Tags
This content has not been tagged yet
|
|
|
|
| Ad |
May 13 2008, 01:17 AM
Post
#
|
|
|
Tags
This content has not been tagged yet
|
|
|
|
May 13 2008, 04:11 AM
Post
#2
|
|
![]() Very Active Member Posts: 76 Joined: 30-March 07 From: Brisbane Member No.: 8228 Using LabVIEW Since:2005 LV:8.5 ,8.0.1 ,7.1.1
|
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. -------------------- Test Engineer
Certified LabVIEW Architect(CLA) Tags
This content has not been tagged yet
|
|
|
|
May 13 2008, 12:07 PM
Post
#3
|
|
![]() I'm a LAVA, not a fighter. V I Engineering, Inc. ![]() Posts: 3500 Joined: 13-October 03 From: Michigan, USA Member No.: 181 Using LabVIEW Since:1993 LV:8.5 ,. ,.
My Blog
|
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. -------------------- ![]() Tags
This content has not been tagged yet
|
|
|
|
Similar Topics
| Topic Title | Replies | Topic Starter | Views | Last Action | |||
|---|---|---|---|---|---|---|---|
![]() |
2 | Michael_Aivaliotis | 1887 | 14th June 2005 - 02:12 PM Last post by: Michael Ashe |
|||
![]() |
5 | dhuff | 2521 | 21st February 2008 - 05:18 PM Last post by: Norm Kirchner |
|||
![]() |
0 | daal | 1463 | 17th December 2003 - 05:22 PM Last post by: daal |
|||
![]() |
3 | didierj | 2307 | 2nd April 2004 - 07:49 AM Last post by: aledain |
|||
![]() ![]() |
| Time is now: 7th September 2008 - 06:32 PM |