I set up a project and a windows installer to go with it, and added a shortcut to the User's Program Menu folder via the installer. This all worked great on my computer. Then I tried it on another machine, and received the following error:
"This installation package could not be opened. Verify that the package exits and that u can access it, or contact the application vendor to verity
that this is a valid Windows Installer package."
I emailed the .msi file (renamed the extension to bypass email restrictions) and renamed it again to .msi on the target computer. I used the exact same .msi file to install on my computer. I tried this on both a Vista and XP machine, and received the same error both times. This kind of thing is really aggravating to me, as it is almost inevitable that a project, either ASP.NET or Windows Application, will end up working on the development machine, and completely die anywhere else. Anyway, useless complaining aside, I spent quite a bit of time looking for the answer online, and saw MANY posts where people had this issue, but nearly all of them were using third party software (Office, Java products, etc.) and weren't addressing developer issues, but currupted Windows Installer issues. Can anyone help?
William SnellPosted Aug 7, 2008, 11:09 PM
OK, compression worked fine, too, so here's the skinny for anyone else coming after with the same problem.
Emailing the application with extension renamed - failed.
Emailing the application in a zipped file - worked!
Transporting on a flash drive - worked!!!
It seems that, as I surmised in a previous post, that the encoding used in the email attachments messed something up. I assume (perilous as it is) that any portable media should work, such as flash drives (tested), external hard drives, CD/DVD disks, etc., as well as compressed file transport via email.
Ryan AlfordPosted Aug 13, 2008, 2:21 PM
I use FTP to update an application that I wrote for my parents. My mom clicks a button, it checks for an update, FTPs from my PC to her PC, then installs it.
William SnellPosted Aug 7, 2008, 9:59 PM
Ryan AlfordPosted Aug 7, 2008, 9:31 PM
how about trying to put the .msi file on a flash drive and moving it to the other PC instead of changing the file extension?