Che cosa significa la condizione di “VSDFXAvailable” media? (Perché il mio personalizzato .net-Setup fallire?)

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

Domanda

In Visual Studio 2010 Ho installato un progetto "Visual Studio Installer" che comprende un'azione personalizzata.

Sulla mia macchina di sviluppo il programma di installazione funziona come previsto.

Su due macchine di prova (Windows 7 con .NET 4.0 installato) l'installazione non riesce.

Il setup richiede / di tentare l'installazione di .NET Framework 4.0 (che è già lì).

usando msiexec Installer.msi / L * V test.log ho prodotto un registro dettagliato, estratto sotto.

Questo mi porta a credere che il mio problema è legato alla valutazione fallito della condizione di avvio

VSDFXAvailable

Con Google trovo unico riferimento al file di log incollato.

Quello che questa condizione è ancora più su? qualcuno può dare un'occhiata al file di registro e verificare che questo sta causando l'errore?

Grazie!

Il registro completo è qui: 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.
È stato utile?

Soluzione

La struttura sembra essere usato da un .NET Framework condizioni di lancio. Prova a controllare tavolo RegLocator nel vostro MSI per vedere se la condizione di avvio utilizza una ricerca di Windows Installer. Se lo fa, di controllo se la voce del Registro di destinazione esiste sulla vostra macchina.

Inoltre, assicurarsi che l'installazione di .NET Framework corrisponde la vostra piattaforma pacchetto. Ad esempio, un programma di installazione a 32 bit molto probabilmente non rilevare un 64-bit di .NET Framework.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top