Hi All,
I have a config.cpp file which contains the function
_declspec(dllexport) UINT CheckBluePrint (MSIHANDLE hInstall)
{
int dRet=0;
logfile = fopen("c:\\mnsetup.log","a");
fprintf(logfile,"installer for Me\n");
CoInitialize(NULL);
dRet = Process_Blueprint(hInstall);
CoUninitialize();
fclose(logfile);
if(dRet==0)
return ERROR_SUCCESS;
else
return ERROR_INSTALL_FAILURE;
}
The dll is included into the msi, and I use the function in embedded dll
using
<CustomAction Id="CheckBluePrint" BinaryKey="SETUPCONFIG"
DllEntry="CheckBluePrint" />
I include the file
<Binary Id="SETUPCONFIG" SourceFile="Config.dll" />
I run the custom action during the installUISequence:
<InstallUISequence>
<Custom Action="CheckBluePrint" After="LaunchConditions"/>
<Show Dialog="InstallDlg"
After="WelcomeEulaDlg">INSTALLDATABASE</Show>
</InstallUISequence>
I want that this dll should run just before starting the actual
installationof my product as this file sets certain wix properties for other
files.The Wix file compiles and i get the .msi but when i run the installer
The installation ends prematurely.
Any help regarding this would be helpful.
--
View this message in context:
http://www.nabble.com/Using-CustomAction-during-the-installUISequence-tf4475083.html#a12759513
Sent from the wix-users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users