Cee-Kay Posted October 26, 2004 Share Posted October 26, 2004 Works like a charm, thanks again for your help. Link to comment Share on other sites More sharing options...
anza Posted October 27, 2004 Share Posted October 27, 2004 Ryan, I just extracted your jre5.exe (which I had downloaded like 5 times and every one of them restarted Windows after installation) and made a 7z installer from the extracted files with that exact config and guess what? It worked perfectly! So thanks for sharing that piece of code with us Link to comment Share on other sites More sharing options...
RyanVM Posted October 27, 2004 Author Share Posted October 27, 2004 , the only difference between what I posted and what's used in my SFX installer you can download is the ADDLOCAL line. I don't install the multilanguage stuff for my personal version, but I use ADDLOCAL=ALL for the public one. So maybe that's causing the problem. Link to comment Share on other sites More sharing options...
Frank_Sechrist Posted October 27, 2004 Share Posted October 27, 2004 Ryan,I downloaded two days ago, installed on an older HP 1.8 P4 system yesterday and all went well.This evening, I installed on an Abit 2.66 P4 system and it rebooted immediately after the install.Strange. Link to comment Share on other sites More sharing options...
m4dh0 Posted October 28, 2004 Share Posted October 28, 2004 Ryan,Ive been building some sfx installs based on what you do and was just wondering how you changed the sfx files icon ?ie. the java icon for your jre 5.0 installer Link to comment Share on other sites More sharing options...
RyanVM Posted October 28, 2004 Author Share Posted October 28, 2004 Open the sfx file in resource hacker and change it. I then UPX compress it afterwards. Link to comment Share on other sites More sharing options...
anza Posted October 29, 2004 Share Posted October 29, 2004 Hmm, this is really weird. I have the exact same problem as Frank_Sechrist. I installed this on my own computer (normally from Windows) and it worked fine, but when I tried my unattended install (for the first time ever on a real computer) and installed it from RunOnceEx, it restarted. Strange. Link to comment Share on other sites More sharing options...
m4dh0 Posted October 29, 2004 Share Posted October 29, 2004 changing the config.txt used to build the install program to the following fixed it for me;!@Install@!UTF-8!RunProgram="StartX.exe /WAIT \"msiexec /i jre5.msi /qb-! ADDLOCAL=ALL IEXPLORER=1 MOZILLA=1 REBOOT=ReallySuppress JAVAUPDATE=0\"";!@InstallEnd@! Link to comment Share on other sites More sharing options...
Cee-Kay Posted October 29, 2004 Share Posted October 29, 2004 Open the sfx file in resource hacker and change it. I then UPX compress it afterwards.I've found using anything other than Resource Hacker simply corrupts the file, when you change the icon. I too compress it with UPX however I get...upx: jre5.exe: NotCompressibleExceptionI guess that means that it's as small as it'll get (even after using the force compression switch). Link to comment Share on other sites More sharing options...
RyanVM Posted October 29, 2004 Author Share Posted October 29, 2004 Open the sfx file in resource hacker and change it. I then UPX compress it afterwards.I've found using anything other than Resource Hacker simply corrupts the file, when you change the icon. I too compress it with UPX however I get...upx: jre5.exe: NotCompressibleExceptionI guess that means that it's as small as it'll get (even after using the force compression switch). You obviously have no clue what you're doing. You need to edit the 7zip .sfx file. Try reading the 7zip help on making self extracting archives before doing anything else. Link to comment Share on other sites More sharing options...
codejunkie Posted October 29, 2004 Share Posted October 29, 2004 can something simular be done for JDK? Link to comment Share on other sites More sharing options...
Cee-Kay Posted October 30, 2004 Share Posted October 30, 2004 (edited) You obviously have no clue what you're doing. You need to edit the 7zip .sfx file. Try reading the 7zip help on making self extracting archives before doing anything else. Now why would you assume that? Since you posted the contents of your config file, everything has gone fine as regards to making self-extracting installers.Trying a few applications, I found Resource Hacker to be the only program which didn't corrupt the actual installer when changing the icon.I actually found out about UPX by reading the help file! However since I hadn't used it before, I entered the command on it's own and tried different switches it supports.EDIT: Compressing the actual SFX module, reduced the archive file size to the same as yours. Edited October 30, 2004 by Cee-Kay Link to comment Share on other sites More sharing options...
RyanVM Posted October 30, 2004 Author Share Posted October 30, 2004 You obviously have no clue what you're doing. You need to edit the 7zip .sfx file. Try reading the 7zip help on making self extracting archives before doing anything else. Now why would you assume that? Since you posted the contents of your config file, everything has gone fine as regards to making self-extracting installers.Trying a few applications, I found Resource Hacker to be the only program which didn't corrupt the actual installer when changing the icon.I actually found out about UPX by reading the help file! However since I hadn't used it before, I entered the command on it's own and tried different switches it supports.EDIT: Compressing the actual SFX module, reduced the archive file size to the same as yours. I said that because you were trying to change the icon of my installers and UPX compress the EXE rather than the SFX module like I told you to do. That's a fairly good indicator Link to comment Share on other sites More sharing options...
Cee-Kay Posted October 31, 2004 Share Posted October 31, 2004 I said that because you were trying to change the icon of my installers and UPX compress the EXE rather than the SFX module like I told you to do. That's a fairly good indicatorI was trying to change the icon of the installers I created myself. However I did misunderstand your previous post of applying the icon and compressing the actual module itself as opposed to compressing the exe. Link to comment Share on other sites More sharing options...
RyanVM Posted November 4, 2004 Author Share Posted November 4, 2004 I've got another idea too regarding the restart issues. msiexec can be called with a /norestart switch (at least in SP2). Anybody with restart issues interested in another round of test builds? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now