/build/static/layout/Breadcrumb_cap_w.png

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

0 Comments   [ + ] Show comments

Answers (3)

Posted by: jamsek19 17 years ago
Orange Senior Belt
0
Try this function

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
Orange Senior Belt
0
Sorry I forgot to tell:
You can use CustomAction by calling function from VBScript stored in Binary table (Type 6).
Best Regards
Andreo
Posted by: cygan 17 years ago
Fifth Degree Brown Belt
0
thanks jamsek19 for the script will run it with a custom action
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ