Jump to content

How to make a 7-Zip Switchless Installer


keytotime

Recommended Posts

Is there a way to create an 7Z installer for winamp.msi (created by moderator alan). Becuase his installer accepts only full path of the INI file during unattended installation.

ex:

winamp.msi INI="%CDROM%\software\applications\Winamp\winamp.ini" /qb-!

Has anyone succeeded in creating an 7z installer with paths being provided using system variables?

Link to comment
Share on other sites


You could try this in Command Prompt.
Find /I "RunProgram=" "path\to\file.exe"

Shaggy, you get a Scooby snack! That works like a charm and gives me just what I want. Thanks.

Haha....

Thanks Shaggy! Another thing learned today! :yes:

Link to comment
Share on other sites

You could try this in Command Prompt.

Find /I "RunProgram=" "path\to\file.exe"

Shaggy, you get a Scooby snack! That works like a charm and gives me just what I want. Thanks.

Haha....

Thanks Shaggy! Another thing learned today! :yes:

Like to help if I can.

Edited by shaggy
Link to comment
Share on other sites

I'm creating a switchless installeer for Poweer DVD, and it works, for the most part... The issue I'm running into is that in the config.txt script

;!@Install@!UTF-8!
RunProgram="program.exe –switch"
;!@InstallEnd@!

Theer's a set of "'s, I need to use anotheer set as the code I need it

;!@Install@!UTF-8!
RunProgram="setup.exe –s -f2"%systeemdrive%\pdvd.log""
;!@InstallEnd@!

It spits an error back at me...

How do I teell it to ignoree the inner "'s..?

Link to comment
Share on other sites

Could it be this?

;!@Install@!UTF-8!

RunProgram="setup.exe –s -f2"%systeemdrive%\pdvd.log""

;!@InstallEnd@!

Should be systemdrive, not systeemdrive.

Edited by Zxian
Link to comment
Share on other sites

bah... I know why... I was just too tired to realize it.

To enter quotes in commands like that you need to use \".

So...

;!@Install@!UTF-8!
RunProgram="setup.exe –s -f2\"%systeemdrive%\pdvd.log\""
;!@InstallEnd@!

Also... should there be a space between the -f2 switch and the log destination? like the following:

;!@Install@!UTF-8!
RunProgram="setup.exe –s -f2 \"%systeemdrive%\pdvd.log\""
;!@InstallEnd@!

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...