Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Visual Studio .NET Custom Actions


1 reply to this topic

AntonS

AntonS
  • Full Members
  • 94 posts

Posted 26 November 2004 - 15:07

Hello!

I try to build MSI database with Visual Studio .NET Installation Wizard. It contains some Custom Actions not familiar for me.

QUOTE
Type 1 Custom Action calls a dynamic link library (DLL) written in C or C++
DIRCA_CheckFX
VSDCA_VsdLaunchConditions
WEBCA_CreateAppRoots
WEBCA_CreateURLs
WEBCA_EvaluateURLs
WEBCA_EvaluateURLsMB
WEBCA_EvaluateURLsNoFail
WEBCA_GatherWebFolderProperties

Type 19 Custom Action displays a specified error message

ERRCA_CANCELNEWERVERSION
ERRCA_UIANDADVERTISED

Type 307 ( I suspect Type is calculated: 51 + msidbCustomAction
TypeOncePerProcess)


DIRCA_NEWRETARGETABLEPROPERTY1.2F63C82261CB4334895E044F38F53D66
WEBCA_NEWWEBPROPERTY1PORT
WEBCA_NEWWEBPROPERTY1VDIR
WEBCA_TARGETPORT
WEBCA_TARGETVDIR

Type 1281 (I suspect Type is calculated: 1 + msidbCustomAction
TypeOncePerProcess + msidbCustomAction
TypeClientRepeat)


WEBCA_RollbackApplyWebFolderProperties

Type 1537 (How is calculated Custom Action type?)

WEBCA_ApplyWebFolderProperties

Please, eliminate for me intention of this Custom Actions.

I find no information about MSVBDPCADLL.DLL, called in most of above CA.

Sincerely your,
Anton Spitsyn
http://www.installsite.ru

Volynkin

Volynkin
  • Members
  • 5 posts

Posted 26 November 2004 - 23:02

hi,

these CAs seem to be native to VS.NET and therefore are not suported. What this means is basically that VS needs them for managing virtual directories in its web projects and you are not suppose to use them on your own. But again, who cares what is allowed and whats not... take a look here http://nant.sourcefo...p... build file
That is a nice example of using all the WEBCA actions, their meaning is in their names i think...

As for the others, my guess is:

DIRCA_CheckFX - checks if .NET framework is installed on the target machine

VSDCA_VsdLaunchConditions - same as LaunchConditions, but checks for specific VS.NET components.

ERRCA_UIANDADVERTISED - checks if the product is advertised. if it is, it will prevent execution of the installation in full UI mode

ERRCA_CANCELNEWERVERSION - cancel installation if the newer version is detected (typically executed after FindRelatedProducts action).

There is no such thing as MSVBDPCADLL.DLL, instead you should be looking for MSVBDPCA.DLL (http://www.biacreations.com/MSVBDPCA.DLL) as MSVBDPCADLL is just a handle to the file.

Hope this helps...

Alex.

Edited by Volynkin, 26 November 2004 - 23:02.