开发者

Uninstall application which prompts using VB Script

开发者 https://www.devze.com 2023-01-12 04:33 出处:网络
I have an application which was deployed some time ago using an .msi and a .mst When I now try to uninsta开发者_Go百科ll the app using msiexec /x name_of_msi TRANSFORMS=name_of_mst /qb! I get a promp

I have an application which was deployed some time ago using an .msi and a .mst

When I now try to uninsta开发者_Go百科ll the app using msiexec /x name_of_msi TRANSFORMS=name_of_mst /qb! I get a prompt asking if I would like to remove the ini files which were installed. Is there any way to uninstall the application and answer "Yes" to the prompt using a vbscript.

Thanks

G


Have you tried employing the /passive or /quiet switch?

/quiet - quiet mode (no user interaction)
/passive - unattended mode (progress bar only)

/q - set the UI level:

  • n - no UI
  • b - basic UI
  • r - reduced UI
  • f - full UI

Try:
msiexec /x name_of_msi TRANSFORMS=name_of_mst /qn /quiet
or
msiexec /x name_of_msi TRANSFORMS=name_of_mst /qn /passive

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号