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

Change a property during the UI


Best Answer Stefan Krueger , 18 September 2014 - 17:54

Properties which use lower case letters in their names are called "private properties". Their value is not transferred from the UI sequence to the execute sequence. Change the property name to all upper case (FRONT) to make it a "public property".

Go to the full post


3 replies to this topic

julienpec

julienpec
  • Full Members
  • 36 posts

Posted 16 September 2014 - 15:26

Hello everyone,

 

I have created a property "Front" to 0. Then,

i've created a condition of the installaton of a Component which will be installed only if the property "Front" =1. 

 

If i modify the value by my own, the component is installed or not (if Front=0).

 

Now, i want to create a Custom Action which modify during the installation this value Front=0 to Front=1. (It will be the user who will decide if he wants this component or not).

 

To do that, i've created a CA as "Set a property" where :

 

-Property Name : Front

-Property Value : 1 (because it supposes to change 0 to 1 i guess)

Then, Synchrnous , Execut only once.

 

Sequence : Install UI Sequence After InstallWelcom

 

=> Doesnt work

 

I've tried as well to use VB

       Session.Property("Front") = "1"

 

=> Doesnt work

 

I'm not realy used to using CA, that's why i need help :P

 

Thank you

 

Julien



julienpec

julienpec
  • Full Members
  • 36 posts

Posted 18 September 2014 - 09:33

up



Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 18 September 2014 - 17:54   Best Answer

Properties which use lower case letters in their names are called "private properties". Their value is not transferred from the UI sequence to the execute sequence. Change the property name to all upper case (FRONT) to make it a "public property".



julienpec

julienpec
  • Full Members
  • 36 posts

Posted 22 September 2014 - 15:00

thanks a lot :)