

INNO:
--------
;
; Details on installing a screensaver can be found at:
; http://msdn.microsoft.com/library/default.asp?url=/library/en-us/regentry/34635.asp
;
; ISX 2.0.18
;

[Files]
; Install new screensaver into system/system32
Source: "Screensaver.scr"; DestDir: "{sys}"; CopyMode: alwaysoverwrite

[Run]
; Open screensaver property dialog with new screensaver selected
Filename: "{sys}\rundll32.exe"; Parameters: "desk.cpl,InstallScreenSaver {sys}\Screensaver.scr"


==================================================================================
==================================================================================
==================================================================================

Call from command line (SHELL)

I needed to call Inno Setup from the command line (Windows) in order to have a one click build script for a project Im working on.

Heres my example:

C:\Program Files\Inno Setup 5\Compil32.exe /cc Setup.iss 

Thus in general it would be:

[full path to Compil32.exe] /cc [name of your inno script] 

****ANDREW >>>This works for v4***** >>note the quotes around the path & script.
"D:\Program Files\Inno Setup 4\Compil32.exe" /cc "D:\Documents and Settings\andrew\My Documents\VB Files\LTC_FileDif_NOCapp\InstallationFiles\LTCFileMonitor.iss"

==================================================================================
==================================================================================
==================================================================================

