xian7479 Posted May 26, 2005 Share Posted May 26, 2005 I'd like to install .NET Framework 1.1 with language pack through svcpack.inf, so I made a 7-zip installer. As there are two .msi files, one netfx.msi and the other langpack.msi, so I made a batch file to execute them. the batch file called run.cmd is as following:StartX.exe /WAIT "msiexec /i netfx.msi /qb"StartX.exe /WAIT "msiexec /i langpack.msi /qb"and the 7-zip config file is as following:;!@Install@!UTF-8!RunProgram="run.cmd";!@InstallEnd@!Now, I wanna run the 7-zip installer silently, so I added cmdow.exe to the archive and changed the 7-zip config file to following:;!@Install@!UTF-8!RunProgram="cmdow.exe /RUN /HID run.cmd";!@InstallEnd@!but this time, the run.cmd doesn't execute though the command works fine inside the folder from where I created the archive.I don't know where the problem comes from, could anyone help me? Thx in advance. Link to comment Share on other sites More sharing options...
bledd Posted May 26, 2005 Share Posted May 26, 2005 try changing RunProgram="cmdow.exe /RUN /HID run.cmd"toRunProgram="cmdow.exe" /RUN /HID run.cmdalso, RyanVM has already made an exe for this with all patches in, google for 'ryanvm' Link to comment Share on other sites More sharing options...
DLF Posted May 26, 2005 Share Posted May 26, 2005 You could try asking here: http://www.ryanvm.net/forum/viewforum.php?...58dd92bb374acb1or d/load RyanVM's ready made one http://ryanvm.msfn.org/ Link to comment Share on other sites More sharing options...
xian7479 Posted May 26, 2005 Author Share Posted May 26, 2005 Hi guys, thx for reply.I knew RyanVM's .NET Framework installer, 'cause I need to add Chinese language pack, so I've to make it myself and use a batch file.I've tried bledd's suggestion, but it doesn't work. Any other suggestions?Thx Link to comment Share on other sites More sharing options...
xian7479 Posted May 27, 2005 Author Share Posted May 27, 2005 The problem now solved. I use AutoIt made a run.exe to perform the task of run.cmd, then the 7-zip installer works fine. 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