MoshiachNow
15th January 2007 06:36 UTC
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
Red Wine
15th January 2007 07:08 UTC
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"
MoshiachNow
15th January 2007 07:11 UTC
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
Red Wine
15th January 2007 07:19 UTC
Just try this example,
outfile test.exe
showinstdetails show
installdir "$PROGRAMFILES\Kodak\Prinergy Rehost Tool"
section
SetOutpath '$INSTDIR'
detailprint '$INSTDIR'
sectionend
MoshiachNow
15th January 2007 09:20 UTC
Thanks,it works