tramadol Posted November 23, 2009 Posted November 23, 2009 hi all.i have a problem in running RunOnceEx.cmdwith the first logon i have a message telling me (c/install is not found ). i did everything right.i used vmware to test my cd but always give the same messageneed help please thanks in advance
krose Posted November 23, 2009 Posted November 23, 2009 What is the path to the Install folder in your RunOnceEx? You posted that c/install is not found, the path must be C:\install.
tramadol Posted November 23, 2009 Author Posted November 23, 2009 the path of my installation files is XP/$OEM$\$1\Install.i wrote in runonceEx the path is%systemdrive/install%thanks for reply
tramadol Posted November 23, 2009 Author Posted November 23, 2009 Change your /'s to \'ssorry i dont get it. can you explain more ?thanks for reply
Yzöwl Posted November 23, 2009 Posted November 23, 2009 Have you made sure that you have this:\XP\I386\winnt.sif[Unattended]OemPreinstall=Yes
tramadol Posted November 23, 2009 Author Posted November 23, 2009 Have you made sure that you have this:\XP\I386\winnt.sif[Unattended]OemPreinstall=Yes yes i havethanks for reply
krose Posted November 23, 2009 Posted November 23, 2009 (edited) the path of my installation files is XP/$OEM$\$1\Install.i wrote in runonceEx the path is%systemdrive/install%thanks for replyyou have a forward slash instead of a backslash in your path. It has to be %systemdrive%\install Edited November 23, 2009 by Yzöwl additional correction regarding position of % character.
Yzöwl Posted November 23, 2009 Posted November 23, 2009 Please post the content of, or attach, your RunOnceEx.cmd file for probable correction!
gunsmokingman Posted November 23, 2009 Posted November 23, 2009 Wrong Way%systemdrive/install%Correct way%systemdrive%\installTry changing it to match this
tramadol Posted November 24, 2009 Author Posted November 24, 2009 here is my RunOnceEX.cmdcmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Mr.REDA" /fREG ADD %KEY%\005 /VE /D "avg" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\AVG9\avgsetup.exe /script_file %systemdrive%\install\AVG9\avgsetup.ini" /fEXIT
tramadol Posted November 24, 2009 Author Posted November 24, 2009 i think vmware that iam using to test my cd doesnt read winn,sif.. thats why it doesnt copy $$OEM$$ folder.i think so.i dont know if is it true or notany help about that?
Yzöwl Posted November 24, 2009 Posted November 24, 2009 Even though I've seen it mentioned somewhere that they're not necessary, the only thing I can suggest may be wrong with your RunOnceEx file is that the script_file should be within double-quotes.@CMDOW @ /HIDSETLOCALSET "KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx"SET "I_D=%%SYSTEMDRIVE%%\INSTALL"REG ADD %KEY% /V TITLE /D "Mr.REDA"REG ADD %KEY%\005 /VE /D "avg"REG ADD %KEY%\005 /V 1 /D^ "%I_D%\AVG9\avgsetup.exe /script_file \"%I_D%\AVG9\avgsetup.ini\""That said, if your \XP\$OEM$\$1\Install isn't being copied over then your problem is elsewhere.You need to provide us with a full folder structure of your \XP Directory and a copy of your \XP\I386\winnt.sif contents, (with any serials/keys obfuscated).There's no reason why a VM would not read a properly created sif file.
tramadol Posted November 25, 2009 Author Posted November 25, 2009 vmware workstation is using easyinstall,it means is doesnt depend on your winnt.sif file.thats why it asks about product key and if you dont put it ,it will ask about it during install.if it reads winnt.sif it will not ask about product key .anyway, here is a copy of my winnt.sif :; Generated by nLite 1.4.9[Data]Autopartition=0MsDosInitiated=0UnattendedInstall="Yes"[unattended]UnattendMode=DefaultHideUnattendSwitch="No"OemPreinstall="Yes"OemSkipEula="Yes"FileSystem=*WaitForReboot="No"NoWaitAfterTextMode=1NoWaitAfterGUIMode=1DriverSigningPolicy=IgnoreNonDriverSigningPolicy=Ignore[systemRestore][GuiUnattended]OemSkipWelcome=1[Components][userData]ProductKey="xxxxx-xxxxx-xxxxx-xxxxx-xxxxx"[RegionalSettings]LanguageGroup=1Language= "0409"[Networking]InstallDefaultComponents="Yes"and here is list of my cd content:$$OEM$$DOTNETFIXI386SUPPORTVALUEADDAUTORUN.INFWIN51WIN51IPWIN51IP.SP2README.HTMSETUP.EXESETUPXP.HTMthanks for great help
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