Jump to content

Recommended Posts

Posted (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 this

but 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 by MCT

Posted

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.

Posted

bump :P

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

Posted

[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,00
HKCU,"Software\Microsoft\Internet Explorer\Main","Disable Script Debugger",0x0,"no"
HKCU,"Software\Microsoft\Internet Explorer\Main","DisableScriptDebuggerIE",0x0,"no"

[Execute]
RunPreSetupCommands=Launch.WPI:1
DelReg =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.cmd

So 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)

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...