MCT Posted November 10, 2008 Share Posted November 10, 2008 (edited) k, so I'm fairly new to WPI, but i get it to run by adding it to Setupcomplete.cmd but it seems half my programs are failing to install properly under thisbut if i run WPI AFTER im logged in it works fine, any way to get around this?how do i add programs to runonce in vista? is it in the WAIK?EDIT: this is in vista, testing on vmware Edited November 10, 2008 by MCT Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted November 10, 2008 Share Posted November 10, 2008 I will whip something up with a inf file in a little bit. Check back tonight.Remember though UAC will kick your butt! Hmmmmmmmmmmm maybe I can do something about that too. Link to comment Share on other sites More sharing options...
mritter Posted November 11, 2008 Share Posted November 11, 2008 If there is a way to turn UAC off with a reg key, make it the first command WPI runs. Change reg keys, reboot, continue with installation. Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted November 11, 2008 Share Posted November 11, 2008 I was actually going to try to turn it off during setupcomplete.cmd and see if it would count it.Not near my big PC though yet. Link to comment Share on other sites More sharing options...
MCT Posted November 17, 2008 Author Share Posted November 17, 2008 bump if u can give me an idea of what your talking about Kelsenellenelvian i can probly do it, but im not too familiar with vista yet, still toying with it.My XP CD is way customized, its hard trying to get everything redone for an OS, ive been fairly busy myself, so take yourtime Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted November 19, 2008 Share Posted November 19, 2008 [Version]Signature="$CHICAGO$"[DefaultInstall]AddReg=Run.AddReg[Run.AddReg]HKLM,"%RUN%","%WPI%",,"RunDll32 advpack.dll,LaunchINFSection ""%01%\%INF%"",Execute"HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System","EnableLUA",0x10001,00,00,00,00HKCU,"Software\Microsoft\Internet Explorer\Main","Disable Script Debugger",0x0,"no"HKCU,"Software\Microsoft\Internet Explorer\Main","DisableScriptDebuggerIE",0x0,"no"[Execute]RunPreSetupCommands=Launch.WPI:1DelReg =Run.DelReg[Launch.WPI]CMD /Q /C CD /D """%01%\..\WPI""" & START /WAIT /B WPI.hta[Run.DelReg]HKLM,"%RUN%","%WPI%"[Strings]RUN="SOFTWARE\Microsoft\Windows\CurrentVersion\RUN"WPI="Windows Post Install"INF="RunWPI.inf"I am trying to get this inf to be called via setupcomplete.cmdSo far no such luck. It does run fine and the inf code is right. I just can't get the .cmd file to cal it right. (YET) 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