baronstudio
Posts: 6
Joined: Tue May 05, 2009 9:43 am
Contact: Website

File Associations problem at the first use (Call)

Hi,

In my setup i set two files associations, like this:
Image

The Bug :

After the installation on computer, wen the user call the Open or Import on the files by right click or double click , the Setup restart at the simple UI...
after this second install, the association link work good ...

where is the problem?

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

Re: File Associations problem at the first use (Call)

Hello,

The installer starts a second time because of the auto healing ability. This behavior is usually triggered because one of the key resources in the feature in which the executable resides may be missing. Please make sure that your application does not delete any of the resources it is installed with.

In order to determine the cause of the on demand installation you can open the Event Viewer ("Start -> Run", "eventvwr.msc") and look under the Application node for "MsiInstaller" log messages of the form:

> Event Type: Warning
> Event Source: MsiInstaller
> Event ID: 1001
> Description:
> Detection of product '{000C1109-0000-0000-C000-000000000046}', feature 'Example' failed during request for component '{00030829-0000-0000-C000-000000000046}'

The message and the GUIDs will of course be different on your machine.

If you still can not determine which component is missing, please send the appropriate message(s) from the log and your .aip project file (or a stripped down version if it contains sensitive information) to support at advancedinstaller dot com.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
baronstudio
Posts: 6
Joined: Tue May 05, 2009 9:43 am
Contact: Website

Re: File Associations problem at the first use (Call)

Thank Gabriel !

i find the entry's in windows Event Viewer :

Échec de détection du produit ‘{68A2DA06-ACE5-4820-9945-3460ECC987BF}’, fonctionnalité ‘CDFV4MainApp’ lors de la demande du composant ‘{917A27A0-A15C-4CB4-AD46-26CBC4C54BD4}’

This is this resources in my project :
Resource:
CDESIGNFASHION.exe
cdr
cmx




Échec de détection du produit ‘{68A2DA06-ACE5-4820-9945-3460ECC987BF}’, fonctionnalité ‘CDFV4MainApp’, composant ‘{EA264F3D-AD02-4A12-9313-D38808905594}. La ressource ‘C:\Program Files\Corel\CorelDRAW Graphics Suite X4\Draw\CustomMediaStrokes\BulletCurved.npm’ n’existe pas.
This is this resources in my project :
Resource:
BulletCurved.npm
BulletCurved.npm (Registred)


my features organization :
Image

The parameters for the too features organization:
Image


In the Custom Action panel of my project I'm execute EXE for remove some file(s) form the installation of perquisites. And it remove the "BulletCurved.npm" file !!! is the reason for the second error.
But for the first component (files associations) ‘{917A27A0-A15C-4CB4-AD46-26CBC4C54BD4}’..." it is not the reason !?
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: File Associations problem at the first use (Call)

Hi
Échec de détection du produit ‘{68A2DA06-ACE5-4820-9945-3460ECC987BF}’, fonctionnalité ‘CDFV4MainApp’ lors de la demande du composant ‘{917A27A0-A15C-4CB4-AD46-26CBC4C54BD4}’
This is this resources in my project :
Resource:
CDESIGNFASHION.exe
cdr
cmx
From your screenshot I can see that you have 3 more resources in addition to the two file associations you are mentioning. Are you sure none of them are missing? You should check if CDESIGNFASHION.exe is missing. Also, please send us an install log to support at advancedinstaller dot com so we can further analyze the problem.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
baronstudio
Posts: 6
Joined: Tue May 05, 2009 9:43 am
Contact: Website

Re: File Associations problem at the first use (Call)

Yes the 3 other resources is:
2 x Shortcuts (Installed correctly),
1 X EXE Files (Installed Correctly),

do you think it's possible to put the "CDESIGNFASHION.EXE" to non important file, for it ignored by the re-installation and not generate a error ?

I send you the instal log by e-mail...

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

Re: File Associations problem at the first use (Call)

Hi,
do you think it's possible to put the "CDESIGNFASHION.EXE" to non important file, for it ignored by the re-installation and not generate a error ?
I'm afraid that there isn't a setting for this. Please send us a verbose log of the installation with the problem to support at advancedinstaller dot com so we can investigate it. Also, please attach the .AIP (project) file you are using.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
baronstudio
Posts: 6
Joined: Tue May 05, 2009 9:43 am
Contact: Website

Re: File Associations problem at the first use (Call)

HI, Cosmin !
excuse me for my late reply. I'm solve the problem with some modification in my "CustumAcction" process.
In this step will delete file in post installation step... ans this files is setting to vital !
thank

Return to “Common Problems”