Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

MsiSetProperty doesn't work properly


1 reply to this topic

javidraaj

javidraaj
  • Members
  • 7 posts

Posted 31 October 2002 - 17:53

Hi

I want to set a value to a property and use that property as a value for a registry value.
For ex:
In my script function i declared like this

MsiSetProperty(hMSI, "PROP_LANGUAGE", language);

and in the IDE , registry view, i create a key like this
HKEY_CURRENT_USER\SOFTWARE\TEST1\LANGUAGE
and with in that key i created a string value name like this
"Application Lanugae". For that string value i gave the data as like this
[PROP_LANGUAGE]

But it is not setting the currect value i specified in the script function.

Why is that? Please let me know to solve this problem.

Thanks
JR

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 04 November 2002 - 17:53

Depends on when you call the function.
Create a log file to see if (and when or where) the property gets set.