title: UWP Package Install Script Doesn't Install Properly
body: <p>When you build an UWP app it also creates an install script as shown below. I've used it to install application quickly as through the GUI I need to uninstall the app and sometimes it doesn't uninstall fully and I need to troubleshoot using PowerShell. </p>
  
  <p><a href="https://i.stack.imgur.com/4MSHy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4MSHy.png" alt="Install Script Explorer"></a></p>
  
  <p>The issue is that this script doesn't actually install properly because recently I fixed an issue and did a build but if I install by running the script the fix is not seen/available in the running application. It was a script change not a visual change so it's still using old build of script?</p>
  
  <p>However, if I uninstall and install by opening the package (<code>.appxbundle</code>) and clicking install it does function correctly.</p>
  
  <p>So I don't know why that is happening. This script is auto-generated and I haven't changed anything but it still has incorrect functionality? Is this a MS bug (anyone know where I can report it)? Something I'm doing wrong? Can anyone who knows PowerShell spread some light.</p>
  
  <p><a href="https://gist.github.com/lordlycastle/bfbb0b05667968a41fbe3a00d2d4c48b" rel="nofollow noreferrer">Here are the scripts.</a></p>
  
  <p>The app was made with Unity 2018.4 LTS then package was built using VS.</p>