cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
amoghchitnis
Level 2

MsiInstallProduct: undefined identifier

Hello,

I am new to installshield and installscript. I am trying to call another .msi from my setup.exe . I am trying to use the MsiInstallProduct call to do this. While compiling the .rul file I receive the error
MsiInstallProduct: undefined identifier


I am making the call in the following way:

MsiInstallProduct(_T("PATH_TO_MSI_FILE", _T("")); //No cmd line property settings 



I know it must be something silly that I must be doing or missing. I would greatly appreciate if anyone can provide pointers to this.

Thanks
Amogh
Labels (1)
0 Kudos
(1) Reply
RobertDickau
Flexera Alumni

Is this an InstallScript project? You might be able to add #include "iswi.h" to the top of your script, though that might be just for MSI projects. If so, please see the help topic "Windows Installer API Functions" for the prototype you can manually add to your script.

(As an aside, I don't think InstallScript supports _T.)
0 Kudos