edmoncu Posted October 23, 2004 Share Posted October 23, 2004 hi, is there a way on running MSI hotfixes via svcpack.inf?i was thinking on running ms journal viewer's MSI (rather than the EXE file w/c is 3mb bigger) through svcpack.otherwise, the next option would be recompiling the exe and make it unattended... which i am not familar either. Link to comment Share on other sites More sharing options...
edmoncu Posted October 23, 2004 Author Share Posted October 23, 2004 well, i patterned how most repacks work (since i havent found an automated way yet on doing it) and made a repackaged unattended Journal Viewer.here's how i did it...i made a folder that contains these files (please refer to other repack documentations on where to obtain other files): - journal viewer executable- 7za.exe- 7zS.sfx- StartX.exe- upx.exetogether with this, create a batch file that contains this script%~d0CD "%~p0"MD tmpMD mswjvSTART /wait setup.exe /C /T:"%~dp0tmp"CD tmpREN "Microsoft Windows Journal Viewer.msi" MSWJV.msiSTART /wait msiexec /a MSWJV.msi TARGETDIR="%~dp0mswjv\" /QBCD..COPY StartX.exe "%~dp0mswjv\StartX.exe"RMDIR /S /Q tmpCD mswjv..\7za.exe a "%~dp0mswjv.7z" -r -mx=7 -mfb=255 -md=48m *CD..RMDIR /S /Q mswjvCOPY 7zS.sfx 7zSC.sfxupx.exe 7zSC.sfxECHO;!@Install@!UTF-8!>config.txtECHO RunProgram="StartX.exe /WAIT \"msiexec /i MSWJV.msi /qb\"">>config.txtECHO;!@InstallEnd@!>>config.txtCOPY /b 7zSC.sfx + config.txt + mswjv.7z mswjv.exeDEL 7zSC.sfxDEL config.txtDEL mswjv.7zafter that, run the batch file you created, ideally, it will create a file called mswjv.exe, that's the unattended setup file.OT: it got me into thinking, why haven't i thought of this way on repacking all MSI files i got. hehehe... perhaps i could've saved a little bit more data. Link to comment Share on other sites More sharing options...
Alanoll Posted October 23, 2004 Share Posted October 23, 2004 instead....did you happen to trymsiexec.exe /i (MSIFILE) /qb ? Link to comment Share on other sites More sharing options...
Sunil Posted October 23, 2004 Share Posted October 23, 2004 instead....did you happen to trymsiexec.exe /i (MSIFILE) /qb ?lol Link to comment Share on other sites More sharing options...
RyanVM Posted October 23, 2004 Share Posted October 23, 2004 I wouldn't exactly call MSJVM a "hotfix" Link to comment Share on other sites More sharing options...
GreenMachine Posted October 23, 2004 Share Posted October 23, 2004 As I recall, simply calling MSIEXEC does not work. (Then again, it is still early for me. could be wrong: try it! )If not, you could use this example:http://greenmachine.msfnhosting.com/IEXPRESS/iexpress.htm Link to comment Share on other sites More sharing options...
big poppa pump Posted October 23, 2004 Share Posted October 23, 2004 Actually simply calling msiexec does work. This is what I have in my svcpack.inf and it works perfectly:msiexec /I Microsoft Windows Journal Viewer.msi /qn Link to comment Share on other sites More sharing options...
Alanoll Posted October 23, 2004 Share Posted October 23, 2004 gotta love those simple answers Link to comment Share on other sites More sharing options...
GreenMachine Posted October 23, 2004 Share Posted October 23, 2004 OK, OK, I'm going back to bed 'til game time ... Link to comment Share on other sites More sharing options...
GreenMachine Posted October 23, 2004 Share Posted October 23, 2004 I wouldn't exactly call MSJVM a "hotfix"Calm down, RyanVM, this one isn't about MS Java (MSJVM ) . (Not that the Journal Viewer is worth much more ... ) Link to comment Share on other sites More sharing options...
RyanVM Posted October 23, 2004 Share Posted October 23, 2004 I wouldn't exactly call MSJVM a "hotfix"Calm down, RyanVM, this one isn't about MS Java (MSJVM ) . (Not that the Journal Viewer is worth much more ... ) silly typo on my part Force of old habit, I guess Link to comment Share on other sites More sharing options...
evilvoice Posted October 23, 2004 Share Posted October 23, 2004 its still gonna install wisptis which when using adobe, never closes after exiting adobe...I would have included journal viewer on my unattended if not for that...and deleting the reg keys IS NOT a good method for getting wisptis to not load with adobe because it breaks journal viewer...then whats the point of installing journal viewer at all...if you dont care about wisptis being loaded with adobe (and never closing) then more power to you. Link to comment Share on other sites More sharing options...
edmoncu Posted October 24, 2004 Author Share Posted October 24, 2004 oops. sorry. yups, kinda did the hard way of simply loading MSI files off from svcpack.inf...anyhow, i found out that i can reduce journal viewer's installer via repacking it. i agree for the most part, journal viewer seems useless, but my purpose on integrating journal viewer is to make sure i have all the updates installed (both critical and recommended)...anyway, as a followup, would like to ask when running MSI's off the svcpack.inf- can msiexec.exe run during the t-13 portion of setup?- do i still have to copy msiexec.exe on the svcpack folder?thanks. Link to comment Share on other sites More sharing options...
GreenMachine Posted October 24, 2004 Share Posted October 24, 2004 1) Yes2) No Link to comment Share on other sites More sharing options...
RyanVM Posted October 24, 2004 Share Posted October 24, 2004 oops. sorry. yups, kinda did the hard way of simply loading MSI files off from svcpack.inf...anyhow, i found out that i can reduce journal viewer's installer via repacking it. i agree for the most part, journal viewer seems useless, but my purpose on integrating journal viewer is to make sure i have all the updates installed (both critical and recommended)...anyway, as a followup, would like to ask when running MSI's off the svcpack.inf- can msiexec.exe run during the t-13 portion of setup?- do i still have to copy msiexec.exe on the svcpack folder?thanks. You could always just hide it on Windows Update... 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