Sign in to follow this  
Followers 0
lrstndm

pkgmgr.exe running bricks

4 posts in this topic

I have a simple piece of code but it does not work.

$ret = Run(@ComSpec & ' /c Start /w pkgmgr.exe /iu:IIS-Metabase', @SystemDir, @SW_SHOW, 2 + 4)
ProcessWaitClose($ret)
MsgBox(0, '', 'installed')

When i run the script the command prompt starts, it stays empty and the Messagebox at the last line will never show up.

What is the problem?

Greetz,

lrstndm

Share this post


Link to post
Share on other sites



The pkgmgr (Package manager) is a Package installer for windows.

For my purpose I want to install some IIS components.

I tried it on a Windows Server 2008 server and this runs OK.

It closes automatically after less then a minute and shows me the Messagebox from my code.

Share this post


Link to post
Share on other sites

You say you tried it on Server 2008 and it works, so what OS is it not working on?


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0