'ends prematurely' isn't much to go on.  Does it report error numbers?  Does a 
logged installation 
report anything useful?

Rob

chandan Koushik wrote:
> 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.
> 
> 
> 
> 


-------------------------------------------------------------------------
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to