IIS 6.0
hi all
I am packaging IIS 6.0 with XP SP2 using wise 6.0
anyone knows how I can use a custom action to run these scripts
Install IIS:
sysocmgr.exe /i:c:\winnt\inf\sysoc.inf /u:"C:\Tools\IIS Answer Files\IIS Install.TXT" /q
Remove IIS:
sysocmgr.exe /i:c:\winnt\inf\sysoc.inf /u:"C:\Tools\IIS Answer Files\IIS Remove.TXT" /q
regards
I am packaging IIS 6.0 with XP SP2 using wise 6.0
anyone knows how I can use a custom action to run these scripts
Install IIS:
sysocmgr.exe /i:c:\winnt\inf\sysoc.inf /u:"C:\Tools\IIS Answer Files\IIS Install.TXT" /q
Remove IIS:
sysocmgr.exe /i:c:\winnt\inf\sysoc.inf /u:"C:\Tools\IIS Answer Files\IIS Remove.TXT" /q
regards
0 Comments
[ + ] Show comments
Answers (3)
Please log in to answer
Posted by:
jamsek19
17 years ago
Try this function
and you call this function like
The other call is similar.
Regards
Andreo
Function RunCMD(a_cmd)
Set ShellObj_g = CreateObject("WScript.Shell")
RunCMD=ShellObj_g.Run( "cmd /K " & a_cmd & " & Exit", 1, True)
Set ShellObj_g = Nothing
End Function
and you call this function like
RunCMD("sysocmgr.exe /i:c:\winnt\inf\sysoc.inf /u:" & Chr(34) & "C:\Tools\IIS Answer Files\IIS Install.TXT" & Chr(34) & " /q")
The other call is similar.
Regards
Andreo
Posted by:
jamsek19
17 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.