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

getting a dialog property value


3 replies to this topic

aldebarande

aldebarande
  • Full Members
  • 19 posts

Posted 12 September 2007 - 16:20

Hi, smile.gif


I'm in charge of an already written InstallShield project. A few days ago I was a complete beginner with IS.
I'm using InstallShield 12 Premier Edition

The project is a basic MSI project with an install script.

In this install script I would like to check data entered bu users, so I need to dynamically get the value of some dialogs property.

I'm in a hurry and until now I didn't find the way to do that.

Could you please give me some help ?

Thanks, smile.gif

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 13 September 2007 - 10:11

You can use MsiGetProeprty to read the values of proeprties that hold user input.

aldebarande

aldebarande
  • Full Members
  • 19 posts

Posted 13 September 2007 - 13:39

QUOTE (Stefan Krueger @ 2007-09-13 10:11)
You can use MsiGetProeprty to read the values of proeprties that hold user input.


Hi,

thanks for your answer.

MsiGetProperty has been the first function I've tried to do that dynamically.
But the value was null, so I thought this function was not able to work dynamically.

But if you answer that I think that function can work dynamically

Maybe I didn't provide the good MSIHANDLE.
I took one already existing in the script.

I'm currently looking for the right MSIHANDLE.

Thanks, smile.gif

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 20 September 2007 - 07:03

Also make sure to property set the buffer size parameter before you call the function.