APPDIR issue - 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!

kettch
Posts: 28
Joined: Wed Dec 03, 2008 9:34 pm

APPDIR issue

I have an installer project that is installing files that should be going into APPDIR to another location.

There are two locations that I need files to go to: APPDIR (thick client apps) and WEBSITE_FOLDER (custom property set with a FolderDialog).

The FolderDialog edit box is properly set to use the WEBSITE_FOLDER property and all of the content that is supposed to go there does indeed go there.

The WEBSITE_FOLDER properties on the Files and Folders screen is set to target WEBSITE_FOLDER.

The application folder setting on the Install Parameters screen is set to: [ProgramFilesFolder][Manufacturer]\My Product Name

The application folder properties on the Files and Folders screen is set to target APPDIR.

The problem is that all ~5 files that are supposed to go to APPDIR get put in WEBSITE_FOLDER instead. I've got another installer project that works the same way and has the same settings as this one that works perfectly, so I'm terribly confused as to why this one does not work. Can anyone provide some help?
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: APPDIR issue

Hello,

I am not sure why you are encountering this behavior. Please send your .aip project file or a stripped down version that accurately reproduces this behavior to support at advancedinstaller dot com so we can further investigate the issue.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
kettch
Posts: 28
Joined: Wed Dec 03, 2008 9:34 pm

Re: APPDIR issue

Hi Gabriel,
Thanks for your response...I actually just found the issue by opening the AIP files for the two projects and comparing them to see what was going on. The installer now works as intended and properly sets the files in their correct directories. The problem was:

Code: Select all

<COMPONENT cid="caphyon.advinst.msicomp.MsiPropsComponent">
    ...
    <ROW Property="APPDIR" Value="C:\Inetpub\MyWebsiteFolder" Type="4"/>
    ...
  </COMPONENT>
The APPDIR row element didn't exist in my other project and the element value was wrong anyways (hence why the files were getting put in that location instead of the intended location) so I removed the element from the AIP file that was not working and it now works perfectly.

Hopefully this info helps others out or possibly points you in the direction of a bug to fix.

Thanks,
Ryan

Return to “Common Problems”