February 14, 200521 yr 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?
February 14, 200521 yr Is it possible to run multiple commands in config.txt?For example, applying reg tweak after running setup.exe
February 14, 200521 yr 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
February 15, 200521 yr 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
February 15, 200521 yr Thats for network usage though, anyway i sorted it running it from a batch which aint a biggie.
February 15, 200521 yr 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.
February 23, 200521 yr 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?
February 23, 200521 yr Wow thanks a lot again for the guide I just made myself a 7zip wmp 10 exe. Cool. It trimmed down about 3 mb.
Create an account or sign in to comment