themasteronline Posted August 18, 2004 Share Posted August 18, 2004 Hi all i`m looking for some help on this one.i have createted an image and use this succesfully with my ris serveri have a shared printer on this server too but since i use the RunOncEx.cmd it will not install on my destination computer so obviously i have to add a line to my runoncex.cmd file .this text was in GuiRunOnce, now i use the more slick RunOncEx.cmd[GuiRunOnce]Command0="rundll32 printui.dll,PrintUIEntry /in /n \\server01\hpprinter"and this line installed my printer correctly at the end of my instalationmy RunOncEx.cmdcmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\001 /VE /D "Preparing Installation..." /fREG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\prepare.cmd" /fREG ADD %KEY%\005 /VE /D "Powertoys" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\Applications\Powertoys\TweakUI.msi /qn" /fREG ADD %KEY%\010 /VE /D "Office2003" /fREG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\Applications\Office2003\setup.exe TRANSFORMS=Unattended.MST /qb-" /fREG ADD %KEY%\055 /VE /D "Cleaning Up and Rebooting" /fREG ADD %KEY%\055 /V 1 /D "%systemdrive%\install\cleanup.cmd" /fEXIT So my question is can i copy the GuiRunOnce line straight into the RunOncEx.cmd or do i have to change somthing to that line? and if yes what do i have to change? i tried to explain as simple as possible and hope you all will understand it thkx in advance greetz from the master :wacko: Link to comment Share on other sites More sharing options...
scooby_rafc Posted August 18, 2004 Share Posted August 18, 2004 it might be a stupid question, but if it works with GuiRunOnce why change it??? Link to comment Share on other sites More sharing options...
themasteronline Posted August 18, 2004 Author Share Posted August 18, 2004 it might be a stupid question, but if it works with GuiRunOnce why change it??? No it is not a stupid question but the RunOncEx method is more slick .the only glitch that is left over is that printer driver on my server Link to comment Share on other sites More sharing options...
themasteronline Posted August 19, 2004 Author Share Posted August 19, 2004 In short words how can i put a domain printer to install in the RunOncEx 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