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!

hotim
Posts: 2
Joined: Wed Apr 24, 2013 6:13 pm

Component install condition is ignored

Hello,

I need one of the files to be installed only if its destination folder exists on target machine. Otherwise, I want this file to be skipped, but the rest still to be installed.

I have created a search property for the folder and indicated it as condition for the file in Organization page. However the condition is ignored- even if the destination folder does not exist, it always gets created and file installed there.

I tried to narrow this problem down and figured that ANY condition is ignored. I ended up with putting "A" = "B" as a condition- I suppose this would always return false, but the damn file is still getting installed.

I am using bootstrapper with the /quiet option- could this be a problem?

Please, help.

Thanks
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Component install condition is ignored

Hello,

It seems to be correct what you are trying to do.

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.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
hotim
Posts: 2
Joined: Wed Apr 24, 2013 6:13 pm

Re: Component install condition is ignored

Thank you; I have sent you the files. The problem is actually wider- sometimes the condition is ignored the other way around, i. e. the folder exists, but the file does not get installed. The weirdiest thing is that uninstalling and re-installing the same package may produce different results, with respect to this condition.

Return to “Common Problems”