How to pass the silent uninstallation command to Windows 8 SDK App Certificate Kit (ACK)'s appcert.exe when automating the validation process? RRS feed

  • Question

  • Hi.

    Windows 8 x64

    Windows 8 SDK

    I am trying to automate the Windows 8 App Certificate Kit (ACK) validation process by using the following command line:

    "C:\Program Files (x86)\Windows Kits\8.0\App Certification Kit\appcert.exe" test -apptype desktop -setuppath "c:\setup\SETUP-~1.EXE" -setupcommandline "/q /ComponentArgs ""Base Application"":""/C:""""Setup.exe /q""""""" -waittimeout 900 -appusage permachine -reportoutputpath c:\output\ApplicationCertificateKitReport.xml

    The installation process works without issues (it is silent\unattended).

    However, during uninstallation, the full UI appears.

    The UninstallString registry key value is set to "msiexec /l{12345678-1234-1234-1234-123456789ABC}" where the Guid is actually the ProductCode.

    When a user uninstalls the program from Add/Remove Programs, it is expected that the full UI will appear and step the user through the uninstall process.

    But when appcert.exe uninstalls the program it should be unattended.

    How can I pass the silent uninstallation command to appcert.exe?

    For example, "msiexec /qn /x{12345678-1234-1234-1234-123456789ABC}".

    Thank you.

    Sunday, October 28, 2012 8:03 AM