magnets Posted March 24, 2009 Posted March 24, 2009 Hi,i've been having a spot of bother with my silent installs.i'm using the guirunonce method(relevant files attached)what seems to happen is it does the .net stuff and the windows media bits then rapidly fires through the rest and restarts.or possibly it restarts then rapidly fires through the rest, I'm not sure, sorry.once restarted, only the .net stuff and wmp is installedthe application event log shows no attempts to install the others.also, it only tries to install on the second login, not the first.i.e. windows finishes installing and boots into windows, then i click loggoff and when i log back in, it THEN runs the install apps.not sure why.hope you can help...WINNT.SIFstart.cmdcmdlines.txtLast_Session.ini
strel Posted March 24, 2009 Posted March 24, 2009 (edited) You are mixing 2 different install methods, GUIRunOnce and RunOnceEx.start.cmd is built as if it is going be used with RunOnceEx method, but is triggered with GUIRunOnce method. That's why it executes on second logon, because start.cmd only imports keys to registry for next logon execution (as with RunOnceEx method) but instead of being executed from cmdlines.txt during GUI Setup, it's being executed on first logon, importing keys to registry to be executed on second logon.And start.cmd is not installing your software because you're using "regedit /s installcommand /f" as your install command and not just "installcommand". Edited March 24, 2009 by strel
magnets Posted March 25, 2009 Author Posted March 25, 2009 Thanks for your help there Strel,i've read up a bit and changed it round. To use only the RunOnceEx methodi've deleted the guirunonce reference from my winnt sif file.i've edited start.cmd, renamed it RunOnceEx.cmd and placed it in the $OEM$ folder.I also traced the existing commands in the cmdlines.txt file (nlite command) and moved it into the runonceEx.cmd filei also found i had tried to get things to run at onceso i changed anything like thisREG ADD %KEY%\015 /VE /D "Firefox and addons" /fREG ADD %KEY%\015 /V 1 /D "REGEDIT /S %systemdrive%\install\Firefox\FirefoxSetup3.0.7.exe /S" /fREG ADD %KEY%\016 /V 1 /D "REGEDIT /S %systemdrive%\Program Files\Mozilla Firefox -install-global-extension %systemdrive%:\install\firefox\adblock_plus-1.0.1-fx+sm+tb.xpi" /fREG ADD %KEY%\017 /V 1 /D "REGEDIT /S %systemdrive%\Program Files\Mozilla Firefox -install-global-extension %systemdrive%:\install\firefox\foxmarks_bookmark_synchronizer-2.7.2-fx.xpi" /fREG ADD %KEY%\018 /V 1 /D "REGEDIT /S %systemdrive%\Program Files\Mozilla Firefox -install-global-extension %systemdrive%:\install\firefox\tab_mix_plus-0.3.7.3-fx.xpi" /fto thisREG ADD %KEY%\015 /VE /D "Firefox and addons" /fREG ADD %KEY%\015 /V 1 /D "REGEDIT /S %systemdrive%\install\Firefox\FirefoxSetup3.0.7.exe /S" /fREG ADD %KEY%\016 /V [b]2[/b] /D "REGEDIT /S %systemdrive%\Program Files\Mozilla Firefox -install-global-extension %systemdrive%:\install\firefox\adblock_plus-1.0.1-fx+sm+tb.xpi" /fREG ADD %KEY%\017 /V [b]3[/b] /D "REGEDIT /S %systemdrive%\Program Files\Mozilla Firefox -install-global-extension %systemdrive%:\install\firefox\foxmarks_bookmark_synchronizer-2.7.2-fx.xpi" /fREG ADD %KEY%\018 /V [b]4[/b] /D "REGEDIT /S %systemdrive%\Program Files\Mozilla Firefox -install-global-extension %systemdrive%:\install\firefox\tab_mix_plus-0.3.7.3-fx.xpi" /fbut it's still not installing the application.It will install net1.1 and net2 fine, but not firefox which is between them.once it loaded (i'm using vmware ) i tried pasting in the foxit command%systemdrive%\install\FoxitReader30_enu_Setup.exeinto the run box, and it installed fine.:0(any ideas?AAAAAHHHHHH wait i see what you're saying.i'm adding the word regedit to the start of all the ones that don't work.the ones that do work don't have the regedit line.that's will teach me to cut and paste !...
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