|
-
Sep 1st, 2005, 01:57 AM
#1
Thread Starter
Hyperactive Member
[resolved]Auto-restart after install using Inno Setup
hello everyone, i know most of you have used Inno Setup to deploy your applications. i'm using it myself. i just have a question. how can i make Inno Setup restart my PC after installation? i was thinking of installing it silently and restart my pc after installation. does anyone know?
thanks in advance.
Last edited by guyjasper; Sep 1st, 2005 at 08:53 PM.
-
Sep 1st, 2005, 06:13 AM
#2
Re: Auto-restart after install using Inno Setup
Right, you have two options.
1) When the program starts for the very first time restarting the computer.
2) Get Hack or MArtinLiss to move to Deployment forum, where Randem usually resides, he knows everything about Inno Setup, he might be able to help.
Good Luck
ILMV
-
Sep 1st, 2005, 06:14 AM
#3
Re: Auto-restart after install using Inno Setup
-
Sep 1st, 2005, 06:23 AM
#4
Thread Starter
Hyperactive Member
Re: Auto-restart after install using Inno Setup
thanks
hope someone can help me. i know this could be really simple but i have no idea you see, i have a client-server application and i have new updates most of the time since my application is still buggy. i find it really annoying updating my software especially if there are so many pcs to update. so i was thinking of making a batch file that will be called by the client PCs that would silently install the update and restart after installation. something like the ff:
net use z: \\server\update
z:\setup.exe /silent
net use z: /delete
hope you guys could help
-
Sep 1st, 2005, 06:36 AM
#5
Re: Auto-restart after install using Inno Setup
Did you try to search the Inno knowlegde base/Forum on their website. I use NSIS (Nullsoft Installer) so I am not sure how exactly it is done with Inno.
-
Sep 1st, 2005, 02:49 PM
#6
Re: Auto-restart after install using Inno Setup
guyjasper,
[Setup]: AlwaysRestart
Valid values: yes or no
Default value: no
Description:
When set to yes, Setup will always prompt the user to restart the system at the end of a successful installation, regardless of whether this is necessary (for example, because of [Files] section entries with the restartreplace flag).
-
Sep 1st, 2005, 08:52 PM
#7
Thread Starter
Hyperactive Member
Re: Auto-restart after install using Inno Setup
thanks randem. and i also discovered just yesterday, to make installation fully unattended, you should pass the ff parameters: /SP- /VERYSILENT this will automatically restart the PC without confirmation after installation.
-
Sep 1st, 2005, 11:46 PM
#8
Re: [resolved]Auto-restart after install using Inno Setup
guyjasper,
Watch it with that one. I know I would be a little upset if a program I installed just up and restarted my pc without giving me the option to restart it myself later.
-
Sep 2nd, 2005, 12:14 AM
#9
Thread Starter
Hyperactive Member
Re: [resolved]Auto-restart after install using Inno Setup
i know, but my case is special. this is specific for my program. in my client-server application, i create the installation batch file from code in the server app and then send it to the clients. the client then re-creates this file locally and execute it. in the batch file, i write scripts for the client to connect to the server and also the parameters needed for the setup file for unattended installation. these is convenient for me because i need to update 20-30 client PCs. i used to do it manually and it was very tiring
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|