PDA

View Full Version : Vista MSMQ Install



smh_2007
08-07-2007, 01:14 PM
Hi To All,

I am trying to install MS Messaging Queue on a Vista ultimate machine. I thought I might be able to do something like this:

Set objShell = CreateObject("Shell.Application")
objshell.ShellExecute "ocsetup.exe", "MSMQ-Server /unattendfile:c:\inetpub\wwwroot\NetSwitcher\bin\MS MQ.xml", , ,"runas"

Has anyone ever tried to do this before? I am using the run vbscript function in my install program.

Thanks,

Sharon

andrea
08-08-2007, 09:23 AM
Hi Sharon,

Just curious, why do you try to do this via a VBScript? Why not use the built-in Run Program function?

smh_2007
08-08-2007, 10:07 AM
Hi Andrea,

I just got it working.

I used the Run Command and put pkgmgr /iu:MSMQ-Container;MSMQ-Server in the textbox.

I'm relatively new to creating installs, so sometimes I think I should use one script element when, obviously I should be using another. All in all I really am starting to like setupbuilder a lot. It's just getting used to how installs work.

Thanks for getting back to me.

Sharon