October 23, 200421 yr 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.
October 23, 200421 yr Author 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.
October 23, 200421 yr 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
October 23, 200421 yr 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
October 23, 200421 yr 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 ... )
October 23, 200421 yr 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
October 23, 200421 yr 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.
October 24, 200421 yr Author 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.
October 24, 200421 yr 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...
Create an account or sign in to comment