rscott78
Posts: 7
Joined: Wed Aug 28, 2013 1:02 pm

The file is not marked for installation

I've got an installer package which installs my product. I need some additional drivers installed, so I've added a folder which contains a 64-bit and 32-bit EXE (two separate files). Along with these EXE's are some other files that the driver installer requires -- a dll, some ini files, etc.

I've then added a custom action that attempts to silently install both files - the 32-bit version runs first followed by the 64-bit. I did this because I didn't know how to make it run the appropriate version; it works out because the 32-bit version will fail silently on a 64-bit system and vice versa. The drivers install great.

The problem comes when I install a new version of my application. I'll go to the "Product Details" inside of Advanced Installer and specify a new version then answer with "Major Upgrade" when prompted. If I then install that new version over the top of the other, I get a message saying "The file 'CP210_x64.exe' is not marked for installation." and the installer aborts.

Here's what else I know:
- If I immediately install again, I do not get the message.
- If I uninstall the old version manually, then install the new version, I do not get the message.
- The only time I get the message is if I install a new version on top of an old version.

Any tips?
Attachments
InControl_Setup.aip
AIP file
(122.16 KiB) Downloaded 434 times
msilog.txt
Log file
(797.94 KiB) Downloaded 401 times
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: The file is not marked for installation

Hello,

It seems that Windows Installer fails to detect correct the version of the "CP210xVCPInstaller_x86.exe" and "CP210xVCPInstaller_x64.exe".
This can be seen from the log:
Disallowing installation of component: {D1482C0A-AD7F-43D0-A0FC-1DFBD762EFD6} since the same component with higher versioned keyfile exists.
Disallowing installation of component: {6AC4722D-6ABE-4760-8CE3-6E49B421CABA} since the same component with higher versioned keyfile exists
where:
{D1482C0A-AD7F-43D0-A0FC-1DFBD762EFD6} is the GUID of "CP210xVCPInstaller_x86.exe" component.
{6AC4722D-6ABE-4760-8CE3-6E49B421CABA} is the GUID of "CP210xVCPInstaller_x64.exe" component.

So, can you please go in the Files and Folders page, and select the Always overwrite existing file option from the Operations tab of the related .EXEs and see if the behavior still persist?

Please let us know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
rscott78
Posts: 7
Joined: Wed Aug 28, 2013 1:02 pm

Re: The file is not marked for installation

Thanks, that took care of the problem.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: The file is not marked for installation

You're welcome,

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”