Mekrel Posted February 14, 2005 Posted February 14, 2005 I got a problem, nice guide though the problem is thisIm converting all my WinRAR SFX installers to 7-Zip SFX installer, and im using 7-Zip on some Install Shield installers.One of them is Anti virus Kit 2004 from GData, and I had it installing fine before with the switches i use in the config.txt which is saved with UTF-8 encoding like stated in the guide.;!@Install@!UTF-8!RunProgram="Setup.exe -s -f2\"%systemdrive%\avk.log\"";!@InstallEnd@!The setup.iss is in the archive aswell, and being as its ran from %CDROM% variable, it needs to have the avk.log assigned to it too according to the unattended guide made by Allanol.Any ideas?
Rico.JohnnY Posted February 14, 2005 Posted February 14, 2005 Is it possible to run multiple commands in config.txt?For example, applying reg tweak after running setup.exe
Mekrel Posted February 14, 2005 Posted February 14, 2005 Is it possible to run multiple commands in config.txt?For example, applying reg tweak after running setup.exe<{POST_SNAPBACK}>Well for the problem i posted above, I have sorted it using a .cmd file.Seems to you cant run a installer which needs. iss from the config.txt.So to do what you want make a .cmd and include it in the Archive.7zsetup.exe /switch /anotherswitch/wait REGEDIT settings.regThen call the .cmd file from config.txt
keytotime Posted February 15, 2005 Author Posted February 15, 2005 Updated the guide to make it clearer.
Astalavista Posted February 15, 2005 Posted February 15, 2005 It keeps getting better and better keytotime.
FrankE9999 Posted February 15, 2005 Posted February 15, 2005 I got a problem, nice guide though the problem is thisIm converting all my WinRAR SFX installers to 7-Zip SFX installer, and im using 7-Zip on some Install Shield installers.One of them is Anti virus Kit 2004 from GData, and I had it installing fine before with the switches i use in the config.txt which is saved with UTF-8 encoding like stated in the guide.;!@Install@!UTF-8!RunProgram="Setup.exe -s -f2\"%systemdrive%\avk.log\"";!@InstallEnd@!The setup.iss is in the archive aswell, and being as its ran from %CDROM% variable, it needs to have the avk.log assigned to it too according to the unattended guide made by Allanol.Any ideas?<{POST_SNAPBACK}>Try ising the /SMS switch with the setup. Note this switch should be upper case as shown. RunProgram="Setup.exe -s -SMS -f2\"%systemdrive%\avk.log\""Install Shield Command Line Parametershttp://zacky.cleverits.com/IT/is_cmdline.htm MSI Online Commandline Generator ("CleverMSI-OCG")http://zacky.cleverits.com/IT/MSI/msi_cmdline.htm
Mekrel Posted February 15, 2005 Posted February 15, 2005 Thats for network usage though, anyway i sorted it running it from a batch which aint a biggie.
FrankE9999 Posted February 15, 2005 Posted February 15, 2005 With 7Zip the files are extracted to the temp folder, the setup.exe is run and then the files are removed from the temp folder. The SMS option prevents setup.exe from returning before all child process have completed. This way your files aren't deleted until your install finishes.
fluid Posted February 23, 2005 Posted February 23, 2005 Thanks for the tutorial! For clarification, the exe that I'm gonna put in the config is the setup application that's gonna launch the setup right? For example im mp10setup.exe, there is the setup_wm.exe file inside. That's the exe that I'm gonna put in the config.txt right?
Astalavista Posted February 23, 2005 Posted February 23, 2005 you asking why u need 7zip?ah... makes installers smaller. lol
fluid Posted February 23, 2005 Posted February 23, 2005 Wow thanks a lot again for the guide I just made myself a 7zip wmp 10 exe. Cool. It trimmed down about 3 mb.
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