Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
MsiGetProperty(); Retruns a blank value
I am trying to read the Installation directory from a Visual Studio Installer from a C++ DLL.
So i created a VS Installer and a Custom Action that calls a C++ DLL. The DLL does get called but the but the MsiGetProperty(); always returns no value.
I am really stuck for ideas here. I have been trying to get this to work for 2days and failed to figure out the correct way of doing this.
I need some help, can anyone point me in the right direction.
My end goal here is to get hold of the install directory selected by the user so I can create a scheduled task on the command line. That will run the program once a week.
Here the class in question: http://codepad.org/G0lWvlPJ
Thanks for any help or ideas guys, i really am so stuck. I just don