Feature install based on file search - 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!

ksuwada
Posts: 16
Joined: Wed Jun 01, 2011 2:52 pm

Feature install based on file search

Hi,

I want to create a setup for an add-in for our software. We have two versions on is 32 and another is 64 bit.
I want to create mixed 32/64 bit installer and install features based on what main app version is already on disk.

I was trying to use FileSearch, and it finds the path for the main executable but I dont know how to create the feature install condition properly.

My file search name is STATX86
The condition in feature is as follows:

(NOT VersionNT64 and ( NOT (STATX86 = "") ) )or (VersionNT64 and ( NOT (STATX86 = "") ))

Any hints how to do this? I want also the add-in to be installed by default in the Program Files (x86) folder

Kind regards
KS
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Feature install based on file search

Hello,

Here is a link to help you condition your features in an advanced way. However, if you use a mixed 32/64 package type the installation will be done according with the machine's architecture.

Also, this condition:

Code: Select all

( NOT (STATX86 = "") )
can be reduced to this one:

Code: Select all

STATX86
All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ksuwada
Posts: 16
Joined: Wed Jun 01, 2011 2:52 pm

Re: Feature install based on file search

Thanks, I realized that this aproach was wrong.

Kind regards
KS

Return to “Common Problems”