this is my dll code

#include <windows.h>

#include <msi.h>
extern "C"
{
  __declspec(dllexport) bool GalaxyInstalltion()
  {
        
        TCHAR szVersion[20];
    DWORD cchVersion = 20;
        bool nGalaxy = false;
         
    INSTALLSTATE nFeatureState =
MsiQueryFeatureState("{9AA7902B-84BE-4C15-93D1-D6C30322ABBF}",
"Galaxy_Repository");
        if (nFeatureState = INSTALLSTATE_LOCAL)
        {
                nGalaxy = true;
                 
        }
         
        return true;
  }
                
        
}

what's wrong with this dll code?  

Regards, Subramanyeswari
-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/make-my-vbscriot-to-run-tp5069321p5073501.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------

_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to