Duplication file problem - 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!

pbenes
Posts: 5
Joined: Wed Mar 24, 2010 6:27 pm

Duplication file problem

Hi,

I am using Advanced Installer 6.2 and have the following problem:
Our application installation contains plugin for Adobe Illustrator. The plugin file should be installed into two locations on the target machine:
1) our application installation folder - the part with plugin looks like this
...
[Adobe Illustrator CS3]
[Plug-ins]
[Illustrator Formats]
AI2JavaFX.aip
...
2) and into some specific plugin folder in the Illustrator's installation

the second location is quite problematic. I use search (ILLUSTRATOR_CS3_PLUGINS) to look for Illustrator installation both in the registry and on the hard drive. Then I have property based folder attached to this property. There is one more folder 'Illustrator Formats' in the property based one to go a little deeper into Illustrator folder structure (same folder that appears in our application installation) which contains the single plugin file ( AI2JavaFX.aip).

In the "Files.Folders and Shortcut" tree view it looks like this:
...
[ILLUSTRATOR_CS3_PLUGINS] <-- property based
[Illustrator Formats]
AI2JavaFX.aip <-- this one is actually in the right pane, to be precise

Ideally this part should be installed only if Illustrator installation was found on a target machine. My understanding is that some condition could handle it, however I did not get that far.

When the Illustrator is found on the target, everything goes fine and the plugin is correctly installed. However when the Illustrator is missing, problems begin. During installation no problems are reported. However when application integrity is checked later (for example when user try to open file type whose association is included in the application) the check fails with

Detection of product '{90661331-65DA-4C21-8D99-B4B4AE48BE40}', feature 'MainFeature', component '{FDA31B21-E9DC-47AA-9295-082BC90612EA}' failed. The resource 'C:\ILLUSTRATOR_CS3_PLUGINS\Illustrator Formats\AI2JavaFX.aip' does not exist.

and the application repair is initiated. After this second installation the file C:\ILLUSTRATOR_CS3_PLUGINS\Illustrator Formats\AI2JavaFX.aip really appears on the drive and all file associations work correctly ever after.

Strangely enough, when I remove the folder 'Illustrator Formats' and place the plugin file directly into the property based folder 'ILLUSTRATOR_CS3_PLUGINS' than the file 'C:\ILLUSTRATOR_CS3_PLUGINS\AI2JavaFX.aip' appears correctly after (first) installation.

I have tried file duplications (drag with SHIFT), source folder synchronizations at different folder, 'create on target machine folder' etc with same result.

Any help is highly appreciated.

Regards,
Pavel
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Duplication file problem

Hello,

This is odd.

Please send your .aip project file to support at advancedinstaller dot com so we can investigate.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”