Loading
Using MsiQueryFeatureaState & vbscript
Has any one had any luck using:

 

Set installer = CreateObject("WindowsInstaller.Installer")

 

Set retval = installer.QueryFeatureState(ProductCode,Feature)

 

I am tryying to check if a certain feature exists in the installed applciations. If found I will run:

 

Installer.ReinstallFeature ProductCode,Feature, msiReinstallModeUserData

 

Any help would be fantastic!

  • Community Manager (Flexera Software)

    Installer.FeatureState might be the property you want; and since the return value isn't an object, you might not need Set before the retval assignment...

Related  Product Forums


                     â†’ Flexera One



                      â†’ Snow Atlas



                      â†’ FlexNet Manager



                      â†’ Snow License Manager



                       â†’ App Broker


       Need help finding an answer?


        Ask a Question →


Loading
Using MsiQueryFeatureaState & vbscript