neo_3333 Posted July 18, 2004 Share Posted July 18, 2004 I was just wondering if anyone know whether enviroment variables (such as %systemdrive% or %programfiles%) can be used in the install path of installshield installs, setup.iss ? Link to comment Share on other sites More sharing options...
prathapml Posted July 18, 2004 Share Posted July 18, 2004 No!variables don't work as far as my experience has been. Link to comment Share on other sites More sharing options...
mazin Posted July 18, 2004 Share Posted July 18, 2004 I was just wondering if anyone know whether enviroment variables (such as %systemdrive% or %programfiles%) can be used in the install path of installshield installs, setup.iss ?Yes, you can.Use redirection > or >> as I did in my batch of Winamp.However, here's a practical example by edmoncu:http://www.msfn.org/board/index.php?showto...ndpost&p=132800 Link to comment Share on other sites More sharing options...
s33m33 Posted July 30, 2004 Share Posted July 30, 2004 got it working in two appz:ECHO Installing Tweaki...for Power UsersECHO Please Wait...start /wait %systemdrive%\Install\Applications\Tweaki\setup.exe /s /f1"%systemdrive%\Install\Applications\Tweaki\setup.iss"ECHO Installing Bigfix 1.7ECHO Please Wait...start /wait %systemdrive%\install\Applications\Bigfix\setup.exe /s /f1"%systemdrive%\install\Applications\Bigfix\setup.iss"(earlier i tried copying setup.iss to c:\ but with multiple softwares using the same switch, it started getting messy. instead, i tried this and it worked!) Link to comment Share on other sites More sharing options...
MCT Posted July 30, 2004 Share Posted July 30, 2004 yes, the setup.iss file MUST be in the same directory as the program.exe as 2 minimize problems.. also ECHO Installing Tweaki...for Power Usersshould be TweakUI regards Link to comment Share on other sites More sharing options...
mazin Posted July 30, 2004 Share Posted July 30, 2004 I think neo_3333 meant to use enviroment variables in lines like this one:szDir=C:\Program Files\BreakPoint Software\Hex Workshop 4.2He didn't mean to use them on command line. Link to comment Share on other sites More sharing options...
s33m33 Posted July 31, 2004 Share Posted July 31, 2004 @MCTshould be TweakUIit is TWEAKI...for power users Link to comment Share on other sites More sharing options...
neo_3333 Posted July 31, 2004 Author Share Posted July 31, 2004 mazin's right.I was talking about the lines in the setup.iss file. Link to comment Share on other sites More sharing options...
mister-xxxxx Posted August 20, 2004 Share Posted August 20, 2004 I was just wondering if anyone know whether enviroment variables (such as %systemdrive% or %programfiles%) can be used in the install path of installshield installs, setup.iss ?Yes, you can.Use redirection > or >> as I did in my batch of Winamp.However, here's a practical example by edmoncu:http://www.msfn.org/board/index.php?showto...ndpost&p=132800 [installShield Silent]Version=v6.00.000File=Response File[File Transfer]OverwrittenReadOnly=NoToAll[Application]Name=F-Prot for WindowsVersion=3.15Company=FRISK Software InternationalLang=0009[{9FD12630-1991-46F5-8479-92DE1EAE87DA}-DlgOrder]Dlg0={9FD12630-1991-46F5-8479-92DE1EAE87DA}-SdWelcome-0Count=9Dlg1={9FD12630-1991-46F5-8479-92DE1EAE87DA}-SdLicense-0Dlg2={9FD12630-1991-46F5-8479-92DE1EAE87DA}-SdAskDestPath-0Dlg3={9FD12630-1991-46F5-8479-92DE1EAE87DA}-SetupType-0Dlg4={9FD12630-1991-46F5-8479-92DE1EAE87DA}-SdComponentTree-0Dlg5={9FD12630-1991-46F5-8479-92DE1EAE87DA}-SdSelectFolder-0Dlg6={9FD12630-1991-46F5-8479-92DE1EAE87DA}-SdStartCopy-0Dlg7={9FD12630-1991-46F5-8479-92DE1EAE87DA}-MessageBox-0Dlg8={9FD12630-1991-46F5-8479-92DE1EAE87DA}-SdFinishReboot-0[{9FD12630-1991-46F5-8479-92DE1EAE87DA}-SdWelcome-0]Result=1[{9FD12630-1991-46F5-8479-92DE1EAE87DA}-SdLicense-0]Result=1[{9FD12630-1991-46F5-8479-92DE1EAE87DA}-SdAskDestPath-0]szDir=%ProgramFiles%\FSI\F-ProtResult=1[{9FD12630-1991-46F5-8479-92DE1EAE87DA}-SetupType-0]Result=303[{9FD12630-1991-46F5-8479-92DE1EAE87DA}-SdComponentTree-0]szDir=%ProgramFiles%\FSI\F-ProtFPWIN-type=stringFPWIN-count=1FPWIN-0=FPWIN\FPWINcoFUPDATE-type=stringFUPDATE-count=1FUPDATE-0=FUPDATE\FPUPDATERcoFSTOPNT-type=stringFSTOPNT-count=1FSTOPNT-0=FSTOPNT\FSTOPNTcoFDefs-type=stringFDefs-count=1FDefs-0=FDefs\FDEFScoMFC-type=stringMFC-count=1MFC-0=MFC\New MFC 6.2 Runtime 1FNTCMD-type=stringFNTCMD-count=1FNTCMD-0=FNTCMD\FNTCMDcoComponent-type=stringComponent-count=7Component-0=FPWINComponent-1=FUPDATEComponent-2=FSTOPNTComponent-3=FDefsComponent-4=MFCComponent-5=FNTCMDComponent-6=FTrialDLLResult=1[{9FD12630-1991-46F5-8479-92DE1EAE87DA}-SdSelectFolder-0]szFolder=F-Prot AntivirusResult=1[{9FD12630-1991-46F5-8479-92DE1EAE87DA}-SdStartCopy-0]Result=1[{9FD12630-1991-46F5-8479-92DE1EAE87DA}-MessageBox-0]Result=1[{9FD12630-1991-46F5-8479-92DE1EAE87DA}-SdFinishReboot-0]Result=1BootOption=0[{0649E9C3-4D5D-4E1D-B09E-8DF81DDD5C72}-DlgOrder]Count=0[{90564294-B4A2-407A-A54A-2E8ACB3F4899}-DlgOrder]Count=0[{F838C6E3-BEE1-4982-90E3-3AD8A04F1E8B}-DlgOrder]Count=0[{C4B35827-1E29-4429-8DC5-22A99E9C357E}-DlgOrder]Count=0[{B977D4C3-CCBF-4005-8B9B-2E07925651D6}-DlgOrder]Count=0[{3DE0A0D8-B080-4B45-96BB-AF022552D1DF}-DlgOrder]Count=0[{195CFDB2-161F-463C-952B-5462BE0C943E}-DlgOrder]Count=0[{31E42EBF-A265-4F87-ABA3-09B904D6C0EF}-DlgOrder]Count=0[{14A71AB0-215D-44CB-AE46-C0AD0DEC46FC}-DlgOrder]Count=0=====================================================I have tried in several ways, does not work... It explains to me with simple words as I must make? Thanks Link to comment Share on other sites More sharing options...
Bilou_Gateux Posted August 20, 2004 Share Posted August 20, 2004 There is a method documented here (unfortunately in French) :W2K SP3 Bootable CD +IE6 +WMP9 +DX9 +Hotfixes + applicationsThe method described use a tool from the ressource kit : sed.exeExample is for Adobe Reader 51/ replace the hardcoded letter in setup.iss by %systemdrive%2/ save the file as setup.txt in the installation folder (where resides setup.exe) and delete setup.iss3/ create a new file parse.battype %systemdrive%\winapps\acrobat\setup.txt|%windir%\sed.exe's/\%%systemdrive\%%/%systemdrive%/g'>%systemdrive%\winapps\acrobat\setup.iss4/ save in $OEM$5/ add the command to your cmdlines.txt[Commands]".\parse.bat"Hope it may help you and ask more if you don't understand french and would like more help. Will try to translate more...download outils.zip on the link to get tool and examplesLes scripts et exécutables nécessaires dans cet article sont disponibles dans le fichier outils.zip Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now