Qu'est-ce que la condition « VSDFXAvailable » moyenne? (Pourquoi ne manque mon habitude-Setup .net?)

StackOverflow https://stackoverflow.com/questions/4588437

Question

Dans Visual Studio 2010, j'ai installé un projet de "Visual Studio Installer" il comprend une action personnalisée.

Sur ma machine de développement du programme d'installation fonctionne comme prévu.

Sur deux machines d'essai (Windows 7 avec le .net 4.0 installé) l'installation échoue.

La configuration demande / procéder à l'installation du cadre (ce qui est déjà là) .NET 4.0.

en utilisant msiexec Installer.msi / L * V test.log I a produit un journal détaillé, extrait ci-dessous.

Cela conduit à me crois que mon problème est lié à l'évaluation Failed de la condition de lancement

  

VSDFXAvailable

Avec Google, je trouve que la référence aux fichiers journaux collés.

Ce qu'il est cette condition même pas? Quelqu'un peut-il consulter le fichier journal et vérifiez que cela provoque l'erreur?

Merci!

Le journal complet est ici: http://codetidy.com/359

Action start 17:19:49: VSDCA_VsdLaunchConditions.
INFO   : [01/01/2011 17:19:49:377] [VsdLaunchConditions                   ]: Custom Action is starting...
INFO   : [01/01/2011 17:19:49:378] [VsdLaunchConditions                   ]: CoInitializeEx - COM initialization Apartment Threaded...
INFO   : [01/01/2011 17:19:49:378] [VsdLaunchConditions                   ]: Enumerating table using SQL statement: 'SELECT * FROM `_VsdLaunchCondition`'
INFO   : [01/01/2011 17:19:49:379] [VsdLaunchConditions                   ]: Calling MsiGetActiveDatabase...
INFO   : [01/01/2011 17:19:49:379] [VsdLaunchConditions                   ]: MsiDatabaseOpenViewW - Prepare Database to view table...
INFO   : [01/01/2011 17:19:49:380] [VsdLaunchConditions                   ]: TMsiViewExecute - Open Database view on table...
INFO   : [01/01/2011 17:19:49:380] [VsdLaunchConditions                   ]: Checking a launch condition...
INFO   : [01/01/2011 17:19:49:381] [VsdLaunchConditions                   ]: Getting the condition to evaluate...
INFO   : [01/01/2011 17:19:49:381] [VsdLaunchConditions                   ]: MsiRecordGetStringW - Fetching value...
INFO   : [01/01/2011 17:19:49:381] [VsdLaunchConditions                   ]: MsiRecordGetStringW - Getting value from column '1'...
INFO   : [01/01/2011 17:19:49:382] [VsdLaunchConditions                   ]: Evaluating condition 'VSDFXAvailable'...
INFO   : [01/01/2011 17:19:49:382] [VsdLaunchConditions                   ]: RESULT:    Condition is false.
INFO   : [01/01/2011 17:19:49:382] [VsdLaunchConditions                   ]: MsiRecordGetStringW - Fetching value...
INFO   : [01/01/2011 17:19:49:383] [VsdLaunchConditions                   ]: MsiRecordGetStringW - Getting value from column '2'...
This setup requires the .NET Framework version 4.0.  Please install the .NET Framework and run this setup again.  The .NET Framework can be obtained from the web.  Would you like to do this now?
INFO   : [01/01/2011 17:19:49:384] [VsdLaunchConditions                   ]: MsiSetPropertyW - Setting Property Value...
MSI (s) (24!FC) [17:19:49:384]: PROPERTY CHANGE: Adding HideFatalErrorForm property. Its value is 'TRUE'.
INFO   : [01/01/2011 17:19:49:384] [VsdLaunchConditions                   ]: MsiSetPropertyW - Setting property 'HideFatalErrorForm' to 'TRUE'.
ERROR  : [01/01/2011 17:19:49:385] [VsdLaunchConditions                   ]: Custom Action failed with code: '1603'
INFO   : [01/01/2011 17:19:49:385] [VsdLaunchConditions                   ]: Custom Action completed with return code: '1603'
CustomAction VSDCA_VsdLaunchConditions returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 17:19:49: VSDCA_VsdLaunchConditions. Return value 3.
Action ended 17:19:49: INSTALL. Return value 3.
Était-ce utile?

La solution

Cette propriété semble être utilisé par un conditions de lancement de .NET Framework. Essayez de vérifier la table RegLocator dans votre MSI pour voir si la condition de lancement utilise une recherche Windows Installer. Dans le cas contraire, vérifiez si l'entrée de Registre cible existe sur votre machine.

En outre, assurez-vous que l'installation de .NET Framework correspond à votre plate-forme de package. Par exemple, un programme d'installation 32 bits sera très probablement pas détecter un .NET Framework 64 bits.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top