Emmanuel Derriey
Posts: 16
Joined: Tue Sep 03, 2013 3:28 pm

File "not marked for installation"

Hi,

I did a msi package for my application using AI 9.6.1.
It works usual fine except on one computer: I always encounter a message "The file "myfile" is not marked for installation".
This file is used in a custom action at the end of installation. But if I look in the installation directory during file copy, no files appear!
I though it was a security issue, because of UAC, but I got admin password with IT guy, this is the same. For information, OS is WS2008R2.
I changed target directory to install in "my documents" instead of "Program files": same problem.

I will generate a log file with a remote session, but have you an idea about this issue ?

Thanks

Regards
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: File "not marked for installation"

Hello,

Usually this message is given by Windows Installer when a custom action is trying to access a file from the package which was not installed. Can you run your custom action as a deferred with no impersonation and see if the behavior still persist? Also, you can try to enable the "Always overwrite existing file" option, from "File Operations Tab", for the related file.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Emmanuel Derriey
Posts: 16
Joined: Tue Sep 03, 2013 3:28 pm

Re: File "not marked for installation"

Thanks for your answer.
As I said, files are not installed on the computer, I think the problem with custom action is only the consequence, the issue is upstream.
Any other idea ?

Regards
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: File "not marked for installation"

Hello,

I'm not sure why your files are not installed. In order to investigate this can you please send us the .AIP (project file) and a verbose log of the installation to support at advancedinstaller dot com so we can investigate them?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Emmanuel Derriey
Posts: 16
Joined: Tue Sep 03, 2013 3:28 pm

Re: File "not marked for installation"

Hi,

Sorry for the delay, I've just get 2 log files with the problem.
I've just sent them you by e-mail.

Best

Manu

Return to “Common Problems”