Jump to content

svcpacks and MSI


Recommended Posts

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


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): :blushing:

- journal viewer executable

- 7za.exe

- 7zS.sfx

- StartX.exe

- upx.exe

together with this, create a batch file that contains this script

%~d0
CD "%~p0"
MD tmp
MD mswjv
START /wait setup.exe /C /T:"%~dp0tmp"
CD tmp
REN "Microsoft Windows Journal Viewer.msi" MSWJV.msi
START /wait msiexec /a MSWJV.msi TARGETDIR="%~dp0mswjv\" /QB
CD..
COPY StartX.exe "%~dp0mswjv\StartX.exe"
RMDIR /S /Q tmp
CD mswjv
..\7za.exe a "%~dp0mswjv.7z" -r -mx=7 -mfb=255 -md=48m *
CD..
RMDIR /S /Q mswjv
COPY 7zS.sfx 7zSC.sfx
upx.exe 7zSC.sfx
ECHO;!@Install@!UTF-8!>config.txt
ECHO RunProgram="StartX.exe /WAIT \"msiexec /i MSWJV.msi /qb\"">>config.txt
ECHO;!@InstallEnd@!>>config.txt
COPY /b 7zSC.sfx + config.txt + mswjv.7z mswjv.exe
DEL 7zSC.sfx
DEL config.txt
DEL mswjv.7z

after 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. :D

Link to comment
Share on other sites

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

oops. sorry. :blushing:

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. :D

Link to comment
Share on other sites

oops. sorry.  :blushing:

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. :D

You could always just hide it on Windows Update...

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...