# 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 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 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!

0

##### 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!

Like to help if I can.

Edited by shaggy
0

##### 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 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 on other sites

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

0

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

......

i have read your post and i dont know if you like this: http://www.msfn.org/board/index.php?showtopic=48338

if not, forget this post

0

##### Share on other sites

Removed

Edited by keytotime
0

##### Share on other sites
@Nakatomi2010

dont you notice the same URL in my post?

0

##### Share on other sites

EEPS sorry SolidasRock

0

##### Share on other sites
EEPS sorry SolidasRock

Nevermind

i want also thanks you for your howto

0

Thanks

0

## Create an account

Register a new account