Help - Search - Members - Calendar
Full Version: Switchless Silent Installers, RVM/nLite Addons, .MSI Files
MSFN Forums > Unattended Windows Discussion & Support > Application Installs
Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9

   
Google Internet Forums Unattended CD/DVD Guide
mazin
QUOTE (RogueSpear @ Sep 12 2006, 05:06 PM) *
For quite some time I did have a warning to NOT run any of the runtimes installers that contain .NET 2.0 from anywhere other than svcpack. Then I received several reports from people that they tried it on an existing machine and it worked so... I removed the warning.



The issue is that normally, you cannot install .NET 2.0 from svcpack. In order to do this you need to make a registry change, install .NET 2.0, then change the registry back to the way it was. In theory it should all work out no matter where you install it from, but I did have problems myself; hence the warning.



I cannot say this for sure, but my guess is that if something interrupts the install process, the registry setting modified will not get changed back to it's original setting and this is what's screwing things up. I'll be sure to put the warning message back in again as there is obviously great potential for this to not work from anywhere other than svcpack.

Is it installable from SVCPACK only due to these entries in your Install.cmd?

QUOTE ( Install.cmd )
reg delete HKLM\Software\Microsoft\PCHealth\ErrorReporting\DW /f
reg add HKLM\SYSTEM\Setup /v SystemSetupInProgress /t REG_DWORD /d 0 /f
.
.
.
reg add HKLM\SYSTEM\Setup /v SystemSetupInProgress /t REG_DWORD /d 1 /f


If so (I'm sure it is!), can't you just use sort of IF or FOR statement to set
SystemSetupInProgress to 0 if it's found to be 1? Then you set it to 1 after
installation finishes.
This routine fits installation from SVCPACK.

For the package to work from other places (other than SVCPACK), if SystemSetupInProgress
is found to be 0, let it be 0 and continue installation.
This routine fits installation from other points.

I hope you get my right 'cause, this way, your package is installable everywhere.
RogueSpear
I've considered adding that functionality to the installers, but then it would require a fair amount of testing. Something I don't have time for at the moment. Perhaps sometime down the road.
ideas
i've downloaded the zipped file must i unzip it and place it in my svcpack folder and the can i run it from wpi?
ideas
BIG Problems here - how do i resolve this?
i've extracted the file to my desktop installed it everything went fine

but when reboot
i got me this message like "system did not install properly"
and my computer won't boot
so i had to re-format 7 install windows again

is there a right way to install this addon?
can u tell me how?
mazin
QUOTE (RogueSpear @ Oct 7 2006, 12:13 AM) *
I've considered adding that functionality to the installers, but then it would require a fair amount of testing. Something I don't have time for at the moment. Perhaps sometime down the road.

Thanks, man. thumbup.gif
ideas
ok, so how do i go about in using this in my UXPCD?
which directory should i put it and what commands & registries or scripts should i use to run this install correctly?


The thing is, i really really like this pack
mazin
QUOTE (ideas @ Oct 10 2006, 12:04 AM) *
ok, so how do i go about in using this in my UXPCD?
which directory should i put it and what commands & registries or scripts should i use to run this install correctly?


The thing is, i really really like this pack

Are you talking about 0_NET-VJ-VC-VB-WSE-JRE-ISS.exe? (AIO Runtimes)

If so, and you are using SVCPACK method in your UACD, just put the file in you SVCPACK folder.
Add it to your SVCPACK.INF.

That's it!

However, I just renamed it to NET20.
mazin
@ RogueSpear

The FOR statement suggested here is adapted from a post by Ctrl-X.

I tested the statement but not the package yet.

However, I'm willing to test the package from SVCPACK with this modified CMD.

I lack two things: the way you compress the package and your ICON.

If you are willing to provide them, I'll do the test today.

QUOTE ( Install.cmd )
:: --- Check for the state of Windows Setup and take a decision accordingly.
for /f "tokens=3" %%v in ('reg query HKLM\SYSTEM\Setup /v SystemSetupInProgress') do set value=%%v
IF %value%=="0x1" GOTO SVCPACK
IF %value%=="0x0" GOTO OTHERS
:: ----------------------------------------------- SVCPACK --------------------
:SVCPACK
msiexec /i netfx.msi /qn
msiexec /i jsredist.msi /qn
ren "Program Files" "Program Files-dn1"
ren "Win" "Win-dn1"
ren "jsredist.msi" "jsredist1.msi"
ren "Program Files-dn2" "Program Files"
ren "Win-dn2" "Win"
ren "jsredist2.msi" "jsredist.msi"
reg delete HKLM\Software\Microsoft\PCHealth\ErrorReporting\DW /f
reg add HKLM\SYSTEM\Setup /v SystemSetupInProgress /t REG_DWORD /d 0 /f

msiexec /i netfx2.msi /qn
msiexec /i jsredist.msi /qn
msiexec /i vcredist.msi /qn
reg add HKLM\SYSTEM\Setup /v SystemSetupInProgress /t REG_DWORD /d 1 /f
msiexec /i WSE20SP3.msi /qn
msiexec /i isscript.msi /qn
msiexec /i isscript8.msi /qn
msiexec /i isscript9.msi /qn
msiexec /i isscript10.msi /qn
msiexec /i isscript1050.msi /qn
msiexec /i isscript11.msi /qn
msiexec /i J2SE508.msi /qn
move /Y *.DLL %systemroot%\system32
move /Y *.OCX %systemroot%\system32
move /Y *.TLB %systemroot%\system32
regsvr32 /s %systemroot%\system32\AUTOITX3.DLL
regsvr32 /s %systemroot%\system32\COMCAT.DLL
regsvr32 /s %systemroot%\system32\COMCT232.OCX
regsvr32 /s %systemroot%\system32\COMCT332.OCX
regsvr32 /s %systemroot%\system32\COMCTL32.OCX
regsvr32 /s %systemroot%\system32\COMDLG32.OCX
regsvr32 /s %systemroot%\system32\DBLIST32.OCX
regsvr32 /s %systemroot%\system32\MCI32.OCX
regsvr32 /s %systemroot%\system32\MSCOMCT2.OCX
regsvr32 /s %systemroot%\system32\MSCOMCTL.OCX
regsvr32 /s %systemroot%\system32\MSCOMM32.OCX
regsvr32 /s %systemroot%\system32\MSDATGRD.OCX
regsvr32 /s %systemroot%\system32\MSDATLST.OCX
regsvr32 /s %systemroot%\system32\MSFLXGRD.OCX
regsvr32 /s %systemroot%\system32\MSINET.OCX
regsvr32 /s %systemroot%\system32\MSMASK32.OCX
regsvr32 /s %systemroot%\system32\MSSTDFMT.DLL
regsvr32 /s %systemroot%\system32\MSSTKPRP.DLL
regsvr32 /s %systemroot%\system32\MSVBVM60.DLL
regsvr32 /s %systemroot%\system32\MSWINSCK.OCX
regsvr32 /s %systemroot%\system32\OLEAUT32.DLL
regsvr32 /s %systemroot%\system32\OLEPRO32.DLL
regsvr32 /s %systemroot%\system32\PICCLP32.OCX
regsvr32 /s %systemroot%\system32\RICHTX32.OCX
regsvr32 /s %systemroot%\system32\SYSINFO.OCX
regsvr32 /s %systemroot%\system32\TABCTL32.OCX
regsvr32 /s %systemroot%\system32\OLEAUT32.DLL
CLS
:: ----------------------------------------------- OTHERS ---------------------
:OTHERS
msiexec /i netfx.msi /qn
msiexec /i jsredist.msi /qn
ren "Program Files" "Program Files-dn1"
ren "Win" "Win-dn1"
ren "jsredist.msi" "jsredist1.msi"
ren "Program Files-dn2" "Program Files"
ren "Win-dn2" "Win"
ren "jsredist2.msi" "jsredist.msi"
msiexec /i netfx2.msi /qn
msiexec /i jsredist.msi /qn
msiexec /i vcredist.msi /qn
msiexec /i WSE20SP3.msi /qn
msiexec /i isscript.msi /qn
msiexec /i isscript8.msi /qn
msiexec /i isscript9.msi /qn
msiexec /i isscript10.msi /qn
msiexec /i isscript1050.msi /qn
msiexec /i isscript11.msi /qn
msiexec /i J2SE508.msi /qn
move /Y *.DLL %systemroot%\system32
move /Y *.OCX %systemroot%\system32
move /Y *.TLB %systemroot%\system32
regsvr32 /s %systemroot%\system32\AUTOITX3.DLL
regsvr32 /s %systemroot%\system32\COMCAT.DLL
regsvr32 /s %systemroot%\system32\COMCT232.OCX
regsvr32 /s %systemroot%\system32\COMCT332.OCX
regsvr32 /s %systemroot%\system32\COMCTL32.OCX
regsvr32 /s %systemroot%\system32\COMDLG32.OCX
regsvr32 /s %systemroot%\system32\DBLIST32.OCX
regsvr32 /s %systemroot%\system32\MCI32.OCX
regsvr32 /s %systemroot%\system32\MSCOMCT2.OCX
regsvr32 /s %systemroot%\system32\MSCOMCTL.OCX
regsvr32 /s %systemroot%\system32\MSCOMM32.OCX
regsvr32 /s %systemroot%\system32\MSDATGRD.OCX
regsvr32 /s %systemroot%\system32\MSDATLST.OCX
regsvr32 /s %systemroot%\system32\MSFLXGRD.OCX
regsvr32 /s %systemroot%\system32\MSINET.OCX
regsvr32 /s %systemroot%\system32\MSMASK32.OCX
regsvr32 /s %systemroot%\system32\MSSTDFMT.DLL
regsvr32 /s %systemroot%\system32\MSSTKPRP.DLL
regsvr32 /s %systemroot%\system32\MSVBVM60.DLL
regsvr32 /s %systemroot%\system32\MSWINSCK.OCX
regsvr32 /s %systemroot%\system32\OLEAUT32.DLL
regsvr32 /s %systemroot%\system32\OLEPRO32.DLL
regsvr32 /s %systemroot%\system32\PICCLP32.OCX
regsvr32 /s %systemroot%\system32\RICHTX32.OCX
regsvr32 /s %systemroot%\system32\SYSINFO.OCX
regsvr32 /s %systemroot%\system32\TABCTL32.OCX
regsvr32 /s %systemroot%\system32\OLEAUT32.DLL
CLS

< EDIT> Added quotes. (in red)
ideas
QUOTE (mazin @ Oct 9 2006, 05:27 PM) *
QUOTE (ideas @ Oct 10 2006, 12:04 AM) *

ok, so how do i go about in using this in my UXPCD?
which directory should i put it and what commands & registries or scripts should i use to run this install correctly?


The thing is, i really really like this pack

Are you talking about 0_NET-VJ-VC-VB-WSE-JRE-ISS.exe? (AIO Runtimes)

If so, and you are using SVCPACK method in your UACD, just put the file in you SVCPACK folder.
Add it to your SVCPACK.INF.

That's it!

However, I just renamed it to NET20.



Sorry but i don't know how to Add it to a SVCPACK.INF confused.gif
can u give me a sample file of it or show me wat it should look like? confused.gif
RogueSpear
QUOTE (mazin @ Oct 9 2006, 07:27 PM) *
The FOR statement suggested here is adapted from a post by Ctrl-X.

I'm going to see about getting the latest .NET 2.0 hotfix integrated and then I'll give this a test run.
mazin
QUOTE (ideas @ Oct 11 2006, 12:52 PM) *
Sorry but i don't know how to Add it to a SVCPACK.INF confused.gif

SVCPACK method: http://unattended.msfn.org/unattended.xp/view/web/24/
RogueSpear
@mazin, that little bit of batch you posted works great. I've integrated the new 922770 hotfix into .NET 2.0 as well. Did tests from both svcpack and post install and everything is perfect. I should have updates of all of my various runtime installers posted by later tonight.

I appreciate you bringing the batch code from Ctrl-X to my attention. It made my life a bit easier newwink.gif and I'll make sure you both are given proper credit.
ideas
thanks guys
mazin
QUOTE (RogueSpear @ Oct 11 2006, 07:53 PM) *
@mazin, that little bit of batch you posted works great. I've integrated the new 922770 hotfix into .NET 2.0 as well. Did tests from both svcpack and post install and everything is perfect. I should have updates of all of my various runtime installers posted by later tonight.

I appreciate you bringing the batch code from Ctrl-X to my attention. It made my life a bit easier newwink.gif and I'll make sure you both are given proper credit.

Man, you ROCK!

It's very kind of you recreating the package again.

THANK YOU IN ADVANCE!
RogueSpear
Ok, the updated .NET installers are online now. Still uploading my branded mega installer...

Link
ideas
am waiting on the mega installer
ideas
my 0_NET-VJ-VC-VB-WSE-JRE-ISS.exe? (AIO Runtimes) worked all wat i did was to rename the file to RT_AIO, then place it in the SVCPACK directory, Remove SVCPACK.IN_ and install windows.

all was done in vmware and everything worked planning on tryin to install to my machine later
.
.
.
.
Later on...
test was done on sico xp 15 min install and it worked great on my Machine.
Atlon 2200, 1GHZ ram, Gigabyte Mboard, etc
mazin
QUOTE (ideas @ Oct 12 2006, 03:38 PM) *
15 min install

Same, here!
Wesmosis
what a loss
why you stop making self silent installers?! newwink.gif
Shark007
QUOTE (Wesmosis @ Apr 13 2007, 06:46 AM) *
what a loss
why you stop making self silent installers?! newwink.gif

RogueSpear is much to busy maintaining others computers
to have time to stop making these. It would increase his workload by 1000% !

He just relocated his base operations to his own forums which are found here:

http://www.doitrightconsulting.net/forum/index.php


good luck..


shark
Google Internet Forums Unattended CD/DVD Guide
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.