Jump to content

How to make a 7-Zip Switchless Installer


keytotime

Recommended Posts

I used startx becuase it is free and i know that o some machines batch files converted using quick batch file coverter does not work. My machine being one of them :whistle: . Also startx compressed with upx is 90Kb while your installer.exe for office is 144. I atached the compressed startx in my original post.

WHERE CAN I GET THE STARTX.EXE ?... NOT FOUND IN FIRST POST

Link to comment
Share on other sites

  • 2 weeks later...

ok... i have read this guide about 10 times and i'm doing it again and again but i dont know... i'm doing something wrong :blushing:

i'm trying to create incredimail installer

i have found the switch in the app switches sticky and i have added the pskill in system32 folder as the guy who posted the swithes said

i did made everything as the guide says but i dont know whats the prob :no:

maybe it is in the config.txt cause the installer doesnt starting and it says "config error" :angrym:

here it is:

;!@Install@!UTF-8!
RunProgram="incml.exe /s"
pskill IncMail.exe
pskill IMApp.exe
;!@InstallEnd@!

have i done something wrong in there?

please help me i'm realy confused with this :blushing:

(the name of the exe in the 7zip archive is incml.exe , its not mistyped)

do you see something that i have to change in the config.txt?

Edited by InViSibLe Gr
Link to comment
Share on other sites

;!@Install@!UTF-8!
RunProgram="incml.exe /s"
pskill IncMail.exe
pskill IMApp.exe
;!@InstallEnd@!

I have searched in vain for the full syntax of the config.txt file...

But I'm willing to bet you need

RunProgram="

and

"

around your pskill statements...

It's not like a .cmd or .bat file.

The only problem with my advice (going back to the lack of documentation for the config.txt file) is I'm not sure if it's ok to have more than one RunProgram statement per config.txt or if you'd have to have it call a .cmd file via "RunProgram" then do multiple program exections within the .cmd file...

Also as a side note, (I think I've seen other's do it) is that the original post takes great pains to mention that the .msi file must be 8 characters or less. I have sucesfully repackaged (and it installs) the Adobe Reader 7.0.7.msi file (with a InstallShield Tuner transform file of equal length spaces and all) by just doing the backslash quote thing to escape the spaces in the RunProgram statement...

Edited by JoeMSFN
Link to comment
Share on other sites

thanks for your reply JoeMSFN :)

so you're telling that i have to do it with

RunProgram="incml.exe /s"
RunProgram="pskill IncMail.exe"
RunProgram="pskill IMApp.exe"

?

and or do it without pskill in the config.txt

and only with runprogram incml

and make a batch file for the pskill's

right?

i'll try both of them and let you know if it work

I have searched in vain for the full syntax of the config.txt file

i have googled for this but didnt find anything if i do i'll tell you

Link to comment
Share on other sites

...ok this one worked i did it with

;!@Install@!UTF-8!
RunProgram="incml.exe /s"
RunProgram="pskill IncMail.exe"
RunProgram="pskill IMApp.exe"
;!@InstallEnd@!

and the kills worked the first time the exes try to open but

the d**n prog after that insists to open cause it doesnt have acount settings inside it :realmad:

so i have to add them with some reg import or something?

how can i do that?

can someone tell me if i can do that?

maybe if i export the HKEY_LOCAL_MACHINE\SOFTWARE\IncrediMail in sys32 folder and add it to run through config with

RunProgram="inredimail.reg"

will that do something ?

or i have to do it through batch file? will that stop the fu****g prog from running?

please help me... i'm so confused about that i dont know what to do to make it work

Edited by InViSibLe Gr
Link to comment
Share on other sites

well... i give up

it doesnt want to work fully silent like this :no:

i'll never make incredimail to work with 7zip silently :(

i'll give it a try with winrar and if it does not work

i wiill do it with the easy batch way ;)

thanks JoeMSFN & The Black Cloud for your help :hello:

Edited by InViSibLe Gr
Link to comment
Share on other sites

Sorry, InViSibLe Gr, it didn't work for you. I still haven't found any real documentation for the config.txt file.

What you might be able to do put your commands (from your previous post)

incml.exe /s
pskill IncMail.exe
pskill IMApp.exe

into a incrmail.cmd file then in your config.txt put

;!@Install@!UTF-8!
RunProgram="incrmail.cmd"
;!@InstallEnd@!

I had to do that to get multiple commands to work... again not sure, but I was unable to get multiple "RunProgram" commands to work in config.txt. (it only seemed to do the 1st "RunProgram" line).

Edited by JoeMSFN
Link to comment
Share on other sites

well... i give up

it doesnt want to work fully silent like this :no:

i'll never make incredimail to work with 7zip silently :(

i'll give it a try with winrar and if it does not work

i wiill do it with the easy batch way ;)

thanks JoeMSFN & The Black Cloud for your help :hello:

the best way to do incredimail is to recreate the intstaller with inno,,

Link to comment
Share on other sites

Sorry, InViSibLe Gr, it didn't work for you. I still haven't found any real documentation for the config.txt file.

What you might be able to do put your commands (from your previous post)

incml.exe /s
pskill IncMail.exe
pskill IMApp.exe

into a incrmail.cmd file then in your config.txt put

;!@Install@!UTF-8!
RunProgram="incrmail.cmd"
;!@InstallEnd@!

I had to do that to get multiple commands to work... again not sure, but I was unable to get multiple "RunProgram" commands to work in config.txt. (it only seemed to do the 1st "RunProgram" line).

Sometimes when using a .cmd file in the config.txt, I've found you need to preceed some of the commands with "start /wait". Sometimes you don't though. Trial and error usually gets you what you need though.

Link to comment
Share on other sites

i found today what was the problem

i opened task manager two see if pskill was actually killing the processes

it was killing them but incredimail was opening because inmail & imapp was loading two times

so to make it work i added

pskill incmail

pskill imapp

pskill incmail

pskill imapp

and it's ok now

Link to comment
Share on other sites

could some one give more details on this part of making a 7-zip switchless installer.

In order to get rid of the cancel button and the close button, go to Dialog→500→1033. Select all then paste in this code:

CODE500 DIALOG 0, 0, 186, 26

STYLE DS_FIXEDSYS | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION

CAPTION "Progress"

LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US

FONT 8, "MS Shell Dlg"

{

CONTROL "Progress1", 1000, "msctls_progress32", PBS_SMOOTH | WS_CHILD | WS_VISIBLE | WS_BORDER, 7, 7, 172, 14

}

dose it go in the 7zs.sfx file ??? and if so what do I open file with.

thunderchero

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