Whoops sorry i get the following error in my install log:

Error 1723. There is a problem with this Windows Installer package. A DLL 
required for this install to complete could not be run. Contact your support 
personnel or package vendor.  Action editOmniCfgFile, entry: UpdateCfg, 
library: C:\WINDOWS\Installer\MSI9F6.tmp 
MSI (s) (24:F8) [16:42:45:828]: Product: mtm Agent -- Error 1723. There is a 
problem with this Windows Installer package. A DLL required for this install to 
complete could not be run. Contact your support personnel or package vendor.  
Action editOmniCfgFile, entry: UpdateCfg, library: 
C:\WINDOWS\Installer\MSI9F6.tmp 

  ----- Original Message ----- 
  From: Mark Line 
  To: wix-users@lists.sourceforge.net 
  Sent: Wednesday, August 01, 2007 5:09 PM
  Subject: custom action VS2005


  I'm having problems with creating a custom install, i'm creating the very 
simple DLL using this code in VS2005

   

  #include "stdafx.h"

  #ifdef _MANAGED
  #pragma managed(push, off)
  #endif

  BOOL APIENTRY DllMain( HMODULE hModule,DWORD ul_reason_for_call,LPVOID 
lpReserved)
  {
         return TRUE;
  }

  #ifdef _MANAGED
  #pragma managed(pop)
  #endif

   UINT __stdcall UpdateCfg( MSIHANDLE hModule )
  {
         return 0;
  }

  So it should just return 0; 

  This is my code from Wix [v2]

       <Binary Id='UPDATEOMNICFG' SourceFile='OmniCfgUpdateCustomAction.dll'/> 

        <CustomAction  Id='editOmniCfgFile' BinaryKey='UPDATEOMNICFG' 
DllEntry='UpdateCfg' Execute="immediate" />

   

   

       <InstallExecuteSequence>



         <Custom Action="editOmniCfgFile" After="LaunchConditions" />     

        </InstallExecuteSequence>     

   

  I get the following error in the install log?

  Does anyone know what I'm doing wrong?

  Thanks

  Mark

              
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to