Issue #10 invalid

MSI not found error when attempting reinstallation

iainn avatariainn created an issue

If you attempt a re-installation (using a different copy of the msi), the installer attempts to look for the msi file from the initial installation. This original msi might not exist any longer. Regardless, the msi you're using for the re-installation attempts to look for the original msi in the wrong directory.

Steps to reproduce

  1. echo This also works with at least launcher=launcher.msi
  2. launcher=launchwin.amd64.msi
  3. cd "c:/Documents and Settings/username/Desktop"
  4. wget "https://bitbucket.org/vinay.sajip/pylauncher/downloads/${launcher}"
  5. mkdir A B
  6. cp ${launcher} A/A${launcher}
  7. cp ${launcher} B/B${launcher}
  8. cd A/
  9. msiexec /i A${launcher}
  10. cd ../B/
  11. msiexec /i B${launcher}

Actual results The re-installation fails with message box: A network error occurred when attempting to read from the file: C:\Documents and Settings\username\Desktop\B\Alauncher.msi

Comments (3)

  1. Vinay Sajip

    I'm not sure this is something I can do anything about, since the location of the original MSI is not something that is configured in the MSI itself, and AFAIK determined by Windows Installer in some other way. I normally uninstall the product (if the original MSI is missing, you can still remove it using Add/Remove Programs) before installing using a fresh MSI. As a workaround, you can do this.

    As the focus of this project is the launcher itself rather than the installer for it, I am not sure I will have the time to investigate this issue in detail. However, if you or any one else can identify any simple change to the MSI which will avoid the problem you're getting, I'll certainly look at implementing it.

  2. iainn

    Fair enough.

    Internet searching suggests that there may be a particular reason it's looking for the original installer---say to exec those exe files (?). FWIW, I tried a couple things, but I was stumbling in the dark and it was to no success. Oh well.

  3. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.