Archive: InstallDir "$PROGRAMFILES\Kodak\Prinergy Rehost Tool"


InstallDir "$PROGRAMFILES\Kodak\Prinergy Rehost Tool"
HI,

I have not succeeded so far to change my InstallDir to "$PROGRAMFILES\Kodak\Prinergy Rehost Tool".

Will appreciate advise.

The code is:

# Installer attributes
OutFile PrinergyRehost_installer.exe
InstallDir "$PROGRAMFILES\Prinergy Rehost Tool"
BrandingText "Prinergy Rehost Tool"
CRCCheck on
XPStyle on
ShowInstDetails nevershow
VIProductVersion 1.0.0.0
VIAddVersionKey ProductName "Prinergy Rehost Tool"
.
.
# Installer sections
Section -Main SEC0000
SetOutPath $INSTDIR
SetOverwrite on
File src\AddSYSTMP2.cmd
File src\addusers.exe
File src\CheckConflicts.cmd


Thanks


Not sure exactly what is your point :)
If you want "$PROGRAMFILES\Kodak\Prinergy Rehost Tool" to appear on your directory page simply add it in InstallDir
e.g. InstallDir "$PROGRAMFILES\Kodak\Prinergy Rehost Tool"


Thanks,

I did exactly it,but all my files kept being installed in $PROGRAMFILES\Prinergy Rehost Tool"

Actualy,"Kodak" dir does not exist noramlly and has to be created.first.
I tried CreateDirectory in various places in the code,but not helped.The dir would not be created.
Thanks


Just try this example,

outfile test.exe
showinstdetails show
installdir "$PROGRAMFILES\Kodak\Prinergy Rehost Tool"

section
SetOutpath '$INSTDIR'
detailprint '$INSTDIR'
sectionend

Thanks,it works