Making .7z files a bust! :(

Questions or comments on the switchless installers? Want to create a new one? Talk about it here.
Post Reply
User avatar
lapetite66
Posts: 44
Joined: Fri Sep 09, 2011 11:25 pm

Making .7z files a bust! :(

Post by lapetite66 » Tue Dec 06, 2011 1:39 pm

Hi:

I was attempted to make some .7z files which a new experiment on my part as I have gotten the hang of making CAB files somewhat sucessfully. All of this was tested in VMware.

I made the following CABs and .7z files.

[Hotfixes]
C:\lapetite's CAB Files\Shockwave_v11.6.3.633_Non-Silent.cab
C:\lapetite's CAB Files\Firefox_v7.0.1.cab
C:\lapetite's CAB Files\Optional CABS\Java6u29-windows-i586-s_Addon.7z

C:\lapetite's CAB Files\Optional CABS\NetFramework_1.0_Addon.7z
C:\lapetite's CAB Files\Optional CABS\MiniLyrics_v7.2.870_Silent.cab
C:\lapetite's CAB Files\RevoUninstaller_v1.93.cab
C:\lapetite's CAB Files\Optional CABS\UxStyle_ThemeAdder_Addon.7z
C:\lapetite's CAB Files\Optional CABS\WinAmp_v56_Silent.cab
C:\lapetite's CAB Files\Optional CABS\WindowsLive_ALL_2011.7z
C:\lapetite's CAB Files\WinRar_v4.0.1.cab


All but the following four installed:

C:\lapetite's CAB Files\Optional CABS\Java6u29-windows-i586-s_Addon.7z
C:\lapetite's CAB Files\Optional CABS\NetFramework_1.0_Addon.7z
C:\lapetite's CAB Files\Optional CABS\UxStyle_ThemeAdder_Addon.7z
C:\lapetite's CAB Files\Optional CABS\WindowsLive_ALL_2011.7z

Since I'm not familiar on how to make ini files so I basically unzipped someone elses .7z Java file and followed their example but neither the Java nor the Net Framework were anywhere to be found when I checked Program files or Revo uninstaller just to be sure.

Of course the Windows Live didn't install because of the conflict with the KB…. file so I wasn't surprised about that but thought I'd give it a try anyway.

The UxStyle didn’t install because as I read on their site (after the fact) it’s not meant to included in other people’s installer packs. I had to install it manually but the UxStyle and that software is really cool.

Since I followed the example of that other person’s Java .7z file, I thought that mine would work too but alas it didn’t . :( As for the Net Framework .7z file that was a test too that also failed miserably.

Wait a minute before I forget. The Windows Live file didn't install but it the install process was visible whereas the the Java and Net Framework were non-existent as if I hadn't integrated them at all.

Any help would be appreciated.
Do unto others...then run. :)

User avatar
user_hidden
Posts: 1924
Joined: Thu Dec 06, 2007 7:52 am
Location: Canada eh!

Post by user_hidden » Tue Dec 06, 2011 6:11 pm

That's a common problem. Try following: KB555375

what may also help is maybe posting your ini and/or inf files to see if there are any errors.

User avatar
Kelsenellenelvian
Moderator
Posts: 4383
Joined: Tue Nov 30, 2004 8:32 pm
Location: Pocatello, ID
Contact:

Post by Kelsenellenelvian » Wed Dec 07, 2011 6:30 am

Don't base your work on my java addon if that is the one you used...

ALOT more work goes into it then just 7z'ing some files an adding a config...

User avatar
lapetite66
Posts: 44
Joined: Fri Sep 09, 2011 11:25 pm

Post by lapetite66 » Sat Dec 10, 2011 6:17 pm

Kelsenellenelvian wrote:Don't base your work on my java addon if that is the one you used...


ALOT more work goes into it then just 7z'ing some files an adding a config...
Kelsenellenelvian:


It wasn't your addon that I used as an example but...will do or won't do in this case.
Do unto others...then run. :)

User avatar
lapetite66
Posts: 44
Joined: Fri Sep 09, 2011 11:25 pm

Post by lapetite66 » Sat Dec 10, 2011 6:46 pm

user_hidden wrote:That's a common problem. Try following: KB555375

what may also help is maybe posting your ini and/or inf files to see if there are any errors.
That link you gave me was to a this Microsoft website "Suggestions for asking a question on help forums". Are you trying to tell me something?

Here are the ini files for some the .7z files I tried and failed to install

Java 6


[general]
builddate=
description=
language=English
version=
website=http://www.java.com/en/download/index.jsp

[EditFile]
I386\SVCPACK.INF,SetupHotfixesToRun,AddProgram

[AddProgram]
Java6u29.exe -ai

==============================================
Java 7

[general]
builddate=12/6/2011
description=
language=English
version=
website=http://www.java.com/en/download/index.jsp

[EditFile]
I386\SVCPACK.INF,SetupHotfixesToRun,AddProgram

[AddProgram]
Java7u1.exe -ai

===============================================

Net Framework 1.0

[General]
builddate=
description=
language=English (United States)
title=M
version=1
website=

[EditFile]
I386\SVCPACK.INF,SetupHotfixesToRun,AddProgram
[AddProgram]
NDP1.0sp3.exe

===========================================
Windows Live

[General]
builddate=
description=
language=English (United States)
title=Windows Live
version=14.0.8117.0416
website=

[EditFile]
I386\SVCPACK.INF,SetupHotfixesToRun,AddProgram
[AddProgram]
wlsetup-ALL.exe
Do unto others...then run. :)

User avatar
Kelsenellenelvian
Moderator
Posts: 4383
Joined: Tue Nov 30, 2004 8:32 pm
Location: Pocatello, ID
Contact:

Post by Kelsenellenelvian » Sat Dec 10, 2011 8:32 pm

HOW are you building the 7z file?

Are you just adding the premade packages?

User avatar
bphlpt
Posts: 1359
Joined: Sat Apr 19, 2008 1:11 am

Post by bphlpt » Sat Dec 10, 2011 9:01 pm

I'm afraid unless you give us a step-by-step on how you built your .7z files we will be unable to show you where you went wrong and why. Is what you posted above your complete .ini files for the mentioned apps? How about the .inf files? What OS were these for? (Doesn't hurt to make sure what we're talking about.) Then where did you put the .7z files to try and get them to install? Any error messages? What tools did you use to both make and install the apps?

Cheers and Regards

User avatar
lapetite66
Posts: 44
Joined: Fri Sep 09, 2011 11:25 pm

Post by lapetite66 » Sun Dec 11, 2011 7:05 pm

bphlpt wrote:I'm afraid unless you give us a step-by-step on how you built your .7z files we will be unable to show you where you went wrong and why. Is what you posted above your complete .ini files for the mentioned apps? How about the .inf files? What OS were these for? (Doesn't hurt to make sure what we're talking about.) Then where did you put the .7z files to try and get them to install? Any error messages? What tools did you use to both make and install the apps?

Cheers and Regards
bphlpt:

Yes, what I posted is my complete forumla for .ini files. INF files??? I didn't have any .inf files...I thought .inf files were just what you looked for when trying to slipstream drivers into Nlite but I guess I was wrong. :(

My operating system is Windows XP Professional Service Pack 3. I used 7zip to make the .7z files. I slipstreamed the .7z files into my OS using Nlite. have had some sucess at making driverpacks using Driverpack Base to slipstream into my Test OS and wonder if maybe I should have tried to use Driverpack Base to slipstream the .7z file I made. Hmm.

As far as my process in making the .7z files I attempted to make the steps I took are as follows.


1. Get the .exe file

2. Make a folder called svcpack and place the executable file inside it.

3. Create an .ini file based on the example of other .ini files from downloaded .7z files

4. Highlight both the svcpack folder as well as the .ini file and create the .7z file (from the both of them combined)

If there are more steps to making .7z files than the steps I described above then I don't know them and that's probably why I'm having problems.

Thanks
Do unto others...then run. :)

User avatar
lapetite66
Posts: 44
Joined: Fri Sep 09, 2011 11:25 pm

Post by lapetite66 » Sun Dec 11, 2011 7:09 pm

Kelsenellenelvian wrote:HOW are you building the 7z file?

Are you just adding the premade packages?
Kelsenellenelvian:

I suppose I could just add premade packages by someone else but I like to make my own. As far as how I accomplish that, I take the following steps:

1. Get the .exe file

2. Make a folder called svcpack and place the executable file inside it.

3. Create an .ini file based on the example of other .ini files from downloaded .7z files

4. Highlight both the svcpack folder as well as the entries_(name).ini file and create the .7z file (from the both of them combined)
Do unto others...then run. :)

User avatar
Kelsenellenelvian
Moderator
Posts: 4383
Joined: Tue Nov 30, 2004 8:32 pm
Location: Pocatello, ID
Contact:

Post by Kelsenellenelvian » Sun Dec 11, 2011 7:21 pm

These exe files are very modified and worked on by us to MAKE them work and install silently...


You CANNOT use the bare .exe from the official websites for the 4 programs your are trying to install...

User avatar
lapetite66
Posts: 44
Joined: Fri Sep 09, 2011 11:25 pm

Post by lapetite66 » Sun Dec 11, 2011 7:30 pm

Kelsenellenelvian wrote:These exe files are very modified and worked on by us to MAKE them work and install silently...


You CANNOT use the bare .exe from the official websites for the 4 programs your are trying to install...
Kelsenellenelvian:

I didn't know that. Oh well, I tried.

Thanks,
Do unto others...then run. :)

User avatar
user_hidden
Posts: 1924
Joined: Thu Dec 06, 2007 7:52 am
Location: Canada eh!

Post by user_hidden » Sun Dec 11, 2011 7:45 pm

lapetite66 wrote:I didn't know that. Oh well, I tried.

Thanks,
now that makes sence.
that is why your cab & .7z addons do not work.
you could do it the way you are but you need to know the proper switches
to install the programs to place in the enries.ini file....

"-ai" "-ai1" will NEVER work on a stock exe file as those are
from modified installers built with the 7zsd.sfx module.

Post Reply