This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: How to use MsiGetProductInfo () function ?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 17, 2008
07:16 AM
How to use MsiGetProductInfo () function ?
Hi All,
I would like to know how to use the function MsiGetProductInfo in the install script to get the INSTALLPROPERTY_LANGUAGE ?
please suggets me some idea!!
Regards,
Jayakumar Natarajan
Ever Tried Ever Failed No Matter,Try Again Fail Agian Fail Better.
I would like to know how to use the function MsiGetProductInfo in the install script to get the INSTALLPROPERTY_LANGUAGE ?
please suggets me some idea!!
Regards,
Jayakumar Natarajan
Ever Tried Ever Failed No Matter,Try Again Fail Agian Fail Better.
(6) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 17, 2008
08:51 AM
Please search these forums for "MsiGetProductInfo" to see some code samples.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 17, 2008
09:24 AM
nBuffer=64; //number datatype
svPropvalue=""; //string datatype
MsiGetProductInfo("{3B32FB6E-6FF1-4A1F-A3E2-66B2C2AF16E6}", INSTALLPROPERTY_LANGUAGE, svPropvalue, nBuffer);
MessageBox(svPropvalue,WARNING);
here the messagebox is displaying only empty , i don't know why it return empty any idea!!!
Regards,
Jayakumar Natarajan
Ever Tried Ever Failed No Matter ,Try Again Fail Again Fail Better!!!
svPropvalue=""; //string datatype
MsiGetProductInfo("{3B32FB6E-6FF1-4A1F-A3E2-66B2C2AF16E6}", INSTALLPROPERTY_LANGUAGE, svPropvalue, nBuffer);
MessageBox(svPropvalue,WARNING);
here the messagebox is displaying only empty , i don't know why it return empty any idea!!!
Regards,
Jayakumar Natarajan
Ever Tried Ever Failed No Matter ,Try Again Fail Again Fail Better!!!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 18, 2008
03:15 AM
I tried your code and got correct response. The only difference is that I used a different product code. Can you check in your registry whether the product code you used exists?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 18, 2008
03:41 AM
how to get the product id for that product?????
:confused: :confused: :confused:
:confused: :confused: :confused:
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 18, 2008
10:48 AM
The product code is available in the General Information|Product Properties view of your project in InstallShield.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 19, 2008
01:24 AM
you can look for it under HKLM\SOFTWARE\MICROSOFT\WINDOWS\CURRENTVERSION\UNINSTALL. normally, all applications available in add/remove panel could be found here.
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)