Jump to content

Looking for some help


Recommended Posts

Hi all i`m looking for some help on this one.

i have createted an image and use this succesfully with my ris server

i 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 instalation

my RunOncEx.cmd

cmdow @ /HID

@echo off

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installing Applications" /f

REG ADD %KEY%\001 /VE /D "Preparing Installation..." /f

REG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\prepare.cmd" /f

REG ADD %KEY%\005 /VE /D "Powertoys" /f

REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\Applications\Powertoys\TweakUI.msi /qn" /f

REG ADD %KEY%\010 /VE /D "Office2003" /f

REG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\Applications\Office2003\setup.exe TRANSFORMS=Unattended.MST /qb-" /f

REG ADD %KEY%\055 /VE /D "Cleaning Up and Rebooting" /f

REG ADD %KEY%\055 /V 1 /D "%systemdrive%\install\cleanup.cmd" /f

EXIT

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: :wacko:

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