Not marked for installation... - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

awpross
Posts: 2
Joined: Tue Mar 19, 2013 11:51 pm

Not marked for installation...

I have created a Net Framework 4.5 application with visual Studio.
When I add the exe file to the installer, it always says "The File myApp.exe is not marked for Installation" when trying to install the application on Windows Server 2008 R2. Installing on newer Versions (Server 2012 / Windows 8) works as expected.

First I thoug of Problem with the custom Action which calls myApp.exe. But I removed the custom Action and the Problem still persists. Even when creating a .msi file with just the myApp.exe inside and all other things left to Default, I got this error.

Any Ideas?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: 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 please 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
awpross
Posts: 2
Joined: Tue Mar 19, 2013 11:51 pm

Re: Not marked for installation...

When removing the custom action, the error still appears. After trying several things, I changed the UpgradeCode. After removing the Custom action AND changing the UpgradeCode, the installation completed as expected. Maybe windows has stored some informations for the installation package. That's why it always failed on the test PC even after removing the custom action.

I will try to find another way to execute the custom action after installation.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Not marked for installation...

Hello,
I will try to find another way to execute the custom action after installation.
You can choose to use a "Launch attached file" custom action in order to achieve what you want.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”