How to make a 7-Zip Switchless Installer
#91
Posted 10 August 2005 - 01:59 PM
grtz
#92
Posted 14 August 2005 - 01:25 PM
#93
Posted 20 August 2005 - 03:19 PM
I'm new to this stuff and i've read this guide and made a simple winrar installer but i've got a few questions :
- how do i tell it which path to install?
- hoe can i preconfigure some setup options? (like shortcuts yes/no and file associations and whatever..)
or is this not possible?
Thanks!
#94
Posted 29 August 2005 - 02:29 PM
muijsenbergq, on Aug 20 2005, 10:19 PM, said:
I'm new to this stuff and i've read this guide and made a simple winrar installer but i've got a few questions :
- how do i tell it which path to install?
- hoe can i preconfigure some setup options? (like shortcuts yes/no and file associations and whatever..)
or is this not possible?
Thanks!
<{POST_SNAPBACK}>
These settings you have to set with the switches. Just look if you can find all the switches for your type of installer.
grtz
#95
Posted 29 August 2005 - 04:37 PM
muijsenbergq, on Aug 21 2005, 07:19 AM, said:
- how do i tell it which path to install?
- hoe can i preconfigure some setup options? (like shortcuts yes/no and file associations and whatever..)
or is this not possible?
Thanks!
<{POST_SNAPBACK}>
When you're making the archive, choose "Create SFX Archive" then click on the "Advanced" tab and then "SFX options"
From there you can configure paths, silent/nonsilent mode. shortcuts etc.
Try the help button if you need more info on each option.
File associations will need a reg file or a cmd file
#96
Posted 31 August 2005 - 02:13 AM
my first program installed like this was perfectdisk 7 + reg
#98
Posted 22 September 2005 - 12:09 PM
Hopefully this will assist with w2k system revamp as I want to try unattended AutoPatcher(Sept) patching of w2ksp4...been using hfslip tool, which is great.
Have had hotfix issues though, so, here goes nutin'...
thanX.
Attached File(s)
-
autopatchSFXdialog.jpg (38.59K)
Number of downloads: 262
#99
Posted 25 September 2005 - 04:48 AM
http://prdownloads.sourceforge.net/sevenzi...ar.bz2?download
(it's the beta, you can also use the older final version)
grtz
#100
Posted 26 September 2005 - 02:59 PM
I have a 7z archive with lots of files sorted in 2 folders (windows and program files), these are extracted to %systemdrive%.
I do it like this, a cmd file started from my RunOnceEx containing:
7za.exe x %cddrive%\XPCD\InstallApps\SYSTEMDRIVE.7z -y -o %systemdrive%\
(I have 7za.exe in my system32 folder by then..)
Now, this works... BUT it does not extract .exe files!!!!! I tried several older versions of 7za.exe, as well as the newest (nonbeta) one... same problem..
tried on several machines... can't figure it out.
For example, in the archive systemdrive.7z: program files\Exact Audio Copy\EAC.exe
Now the Exact Audio Copy folder is created in program files... and all eac files are extracted to that folder EXCEPT EAC.EXE !!!
It is an extremely annoying problem... I hope anyone can bring some sense cause it is really driving me crazy!
(BTW if I extract with Winrar gui or 7zip gui, .EXE files DO get extracted).
EDIT: found the problem... after many weeks..
seems it could not overwrite some files, resulting in an error that was not noticed (no report).
I thought "-y", 'yes on all queries' meant 'overwrite all' but for that the -aoa switch is required:
7za.exe x %cddrive%\XPCD\InstallApps\SYSTEMDRIVE.7z -aoa -y -o %systemdrive%\
The strange thing is, because of this, none of the .exe files were extracted.
I have lots of files and programs (eac, patched MSN files, pdfreader, encoderfiles (xvid etc) some themes and other system32 stuff) in 1 7zip pack, this saves time during setup, and makes the entire process more simple.
This post has been edited by ZileXa: 27 September 2005 - 01:47 AM
#101
Posted 14 October 2005 - 09:38 PM
#102
Posted 21 October 2005 - 04:35 AM
;!@Install@!UTF-8!
RunProgram="StartX.exe /WAIT \"msiexec /i AcroPro.msi TRANSFORMS=AcroPro.mst /qn\""
;!@InstallEnd@!
yes i made a mst file and installed and it workled flawlessly...i had earlier tried without the transform file...it just extracted it...and then nothing....i then checked the office 2003 file that i had made and checked where i was going wrong and realised that i hadn't mentioned the mst file along with msi.
now i am off to conquer nero 7...wish me luck.
#103
Posted 26 October 2005 - 09:58 AM
#104
Posted 27 October 2005 - 10:41 AM
BigDaddyJ, on Oct 26 2005, 08:58 AM, said:
AFAIK, you can't. The files other than the .7z files (7zS.sfx, config.txt) are included in the executable, and not part of the archive that is extracted. That's why when you extract the archive, you only get the contents of the 7-zip file.
#105
Posted 27 October 2005 - 11:11 AM
BigDaddyJ, on Oct 26 2005, 09:58 AM, said:
You could try this in Command Prompt.
Quote
#106
Posted 27 October 2005 - 12:26 PM
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?
#107
Posted 27 October 2005 - 07:38 PM
Quote
Shaggy, you get a Scooby snack! That works like a charm and gives me just what I want. Thanks.
#108
Posted 27 October 2005 - 09:05 PM
#109
#110
Posted 03 November 2005 - 06:54 PM
;!@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..?
- ← MS Office2003 -Unattended.MST not working
- Application Installs
- Quicktime 7.7.2.80.56 install error 1603 →



Help

Back to top









