PDA

View Full Version : Issues with generated install files


KevinD
05-22-2008, 03:08 AM
Hi,

I have a weird problem and do not know if it is a bug or something I am missing somewhere. Can someone try replicate it or suggest what I may be doing wrong?

Steps:
1. Build installer with Bootstrapper (Standard - no Edit, no custom icon) on Windows Vista SP1
2. Copy the file to another machine running Windows XP or Windows 2000.

The first time I copied it using a USB pen and the EXE displays a DOS type window for a couple of seconds. Opening the MSI from here reported the database could not be opened. I emailed the files to myself and downloded them to the test machine. Both would now run, however the EXE has lost the icon - it now has just the windows standard EXE icon and this is in both cases. (The corrupt msi may have been due to timing on the removal of the pen drive which I did remove using the Safely Remove hardware)

Going back to the Vista machine I checked the icon on the EXE and tested the installers. The icon was correct and the installer runs okay. I recopied the files to the freshly formatted pen drive and left it longer to be sure it was finished. I then brought it to an XP machine and the icon was okay and the installer ran. Bringing it to a Windows 2000 machine the icon is back to the standard Windows icon - but the installer does run.

Any help would be apprecited.

Kevin

Adam
05-22-2008, 04:19 PM
Sounds an awful lot like a corrupt copy of the file. Can you reproduce this on multiple machines?

I can run a few tests but this sounds more like a hardware issue.

Adam Kapilik

KevinD
05-23-2008, 03:02 AM
Adam,

With the initial copy of the files the issue where the install EXE files would not run happened on three or four machines when copied vi the USB pen. So this looks like they somehow got corrupted in the copy process. The icon for the EXE was also missing. The downloaded (from email) copy worked but agin the icon was missing. I formatted the USB pen nd copied again.

This time the installer would run and the MSI file would open. On Vista and XP the icon for the EXE was okay. On Windows 2000 the EXE icon is just the standard iicon for executables 9blank window) but it would still run.

The first issue sounds like something I missed when copying (the original files ran fine from the hard drive and I did not rebuild the files before copying the second time. It will be next week before I can try it on a second W2k machine and will let you know. I was wondering if anyone else had seen something similar.

Kevin

KevinD
05-23-2008, 04:38 AM
Some further information I have gathered. I managed to test it on nother W2K machine and the icon is missing on that one as well.

As an experiment I decided to email the file I had originally emailled (and worked but had the default Windows icon) from the Windows 2000 machine and pick it up on a Windows XP one.

The first thing I noticed was the icon in the browse dialog appeared correctly. When I downloaded the file on the XP machine the iccon appeared correctly and the EXE would run.

On the Windows 2000 machine I cleared temp files and deleted the ShellIconCache file ithout any luck. If I add the file to a ZIP the icon appears okay in the archive.

Kevin