LAVA Forums Buy cool LAVA gear Forums RSS Feed

Welcome Guest ( Log In | Register )

Tags
This content has not been tagged yet

> Related links

Visit our LabVIEW Wiki Code Distribution Portal


 
Reply to this topic Start new topic
> Custom Install Reboot and Resume Option
alukindo
post 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
Canada Tanzania Nothing Selected 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
Go to the top of the page
+Quote Post
Ad
post May 13 2008, 01:17 AM
Post #















Tags
This content has not been tagged yet
Go to the top of the page
Quote Post
Karissap
post 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
Australia Nothing Selected Nothing Selected


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
Go to the top of the page
+Quote Post
crelf
post 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 ,. ,.
Australia United States Nothing Selected My Blog


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.

--------------------


Tags
This content has not been tagged yet
Go to the top of the page
+Quote Post

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No New Posts   2 Michael_Aivaliotis 1887 14th June 2005 - 02:12 PM
Last post by: Michael Ashe
No New Posts   5 dhuff 2521 21st February 2008 - 05:18 PM
Last post by: Norm Kirchner
No New Posts   0 daal 1463 17th December 2003 - 05:22 PM
Last post by: daal
No New Posts   3 didierj 2307 2nd April 2004 - 07:49 AM
Last post by: aledain


Reply to this topicStart new topic

 




Time is now: 7th September 2008 - 06:32 PM