Shared folders as a feature. - 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!

benhinman
Posts: 37
Joined: Wed Aug 06, 2008 7:50 am

Shared folders as a feature.

Hi,

I am trying to share a bunch of folders under a specific feature, however when this feature isn't installed it still tries to share them!

Is there a workaround for this?

Thanks,
Ben
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Shared folders as a feature.

Hi,

This is a bug in Advanced Installer and it will be fixed in the next version. The 6.5 version is scheduled for release in the near future.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
benhinman
Posts: 37
Joined: Wed Aug 06, 2008 7:50 am

Re: Shared folders as a feature.

Is there anything I can hack into the aip or resultant msi to make this work?

Thanks,
Ben
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Shared folders as a feature.

Hi Ben,

The AIP can be modified only for the recent versions of Advanced Installer:
- open it in a text editor
- find this row:

Code: Select all

<ROW Action="AI_ProcessFolders" Condition="VersionNT AND (Not Installed)" Sequence="4001"/>
- modify it to look like this:

Code: Select all

<ROW Action="AI_ProcessFolders" Condition="VersionNT AND (Not Installed) AND &Feature=3" Sequence="4001"/>
- note that you need to replace "Feature" with the identifier of the feature which contains the folder

The resulted MSI can be modified like this:
- open it with Orca
- go to the "InstallExecuteSequence" table
- find the "AI_ProcessFolders" action
- set the "Condition" field to:

Code: Select all

VersionNT AND (Not Installed) AND &Feature=3
- where you replace "Feature" with the identifier of the feature that contains the folder.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
benhinman
Posts: 37
Joined: Wed Aug 06, 2008 7:50 am

Re: Shared folders as a feature.

Thanks!

Return to “Common Problems”