November 10, 200817 yr 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, 200817 yr by MCT
November 10, 200817 yr 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.
November 11, 200817 yr 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.
November 11, 200817 yr 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.
November 17, 200817 yr Author 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
November 19, 200817 yr [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)
Create an account or sign in to comment