Jump to content

Problem in making 7-zip installer


xian7479

Recommended Posts

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


try changing RunProgram="cmdow.exe /RUN /HID run.cmd"

to

RunProgram="cmdow.exe" /RUN /HID run.cmd

also, RyanVM has already made an exe for this with all patches in, google for 'ryanvm'

Link to comment
Share on other sites

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...