keytotime

How to make a 7-Zip Switchless Installer

288 posts in this topic

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?

0

Share this post


Link to post
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.

0

Share this post


Link to post
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:

0

Share this post


Link to post
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
0

Share this post


Link to post
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..?

0

Share this post


Link to post
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
0

Share this post


Link to post
Share on other sites

The keyboard I was using sometimes makes an e appear twice... Sorry... That's not the reason...

0

Share this post


Link to post
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@!

0

Share this post


Link to post
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.