MSI Testing

1) Orca allows for viewing inside MSIs, especially the versions of the File contents.  Use Orca from the Windows SDK that requires weird extra installation.

      a) download latest Windows SDK and install it

      b) search for Orca-x86_en-us.msi under C:\Program Files (x86) and run it

      c) create shortcuts and taskbar shortcut to C:\Program Files (x86)\Orca\Orca.exe


2) Verify local box has IIS Express for local testing. Verify IIS Express installed by getting to the command line:

  a) >Powershell

  b) >get-service w3svc

  c) if no service, then:

      d) Dism /Online /Enable-Feature /FeatureName:IIS-DefaultDocument /All

e) Dism /Online /Enable-Feature /FeatureName:IIS-ASPNET45 /All

 

3) Helpful Batch files:

Obviously adjust pathing.


 MsiWaxOn.bat

xcopy "C:\QTDev\StoreAPIs\QT.StorePricing.API\QT.StorePricing.API.Setup\obj\x64\Debug\QT.API.StorePricing.Setup.msi" "C:\QTDev\WixTesting\" /Y /Q

cd C:\QTDev\WixTesting

msiexec /i QT.API.StorePricing.Setup.msi /L*vx "C:\QTDEV\WixTesting\msiStorePricing.log"


 MsiWaxOff.bat
C:\Windows\System32\inetsrv\appcmd.exe delete app "Default Web Site/QT.API.StorePricing/v1"
C:\Windows\System32\inetsrv\appcmd.exe delete apppool "QT.StorePricing.API"
del C:\inetpub\wwwroot\QT.API.StorePricing /S /Q



Comments

Popular posts from this blog

Upgrading to .NET8 from desktop versions 4.8.X

GHL Chat Bots for Webpage

GHL > Set website so shorter URL address