Hi Stefan

Thanks a lot but I've already solved my problem. The problem was between chair and keyboard of course :)
I've used VersionNT in wrong way - I took result value like 500 or so but I wanted boolean result (if property is set or not) and that was my problem.
Now I have 2 custom actions and they sets my property and uses condition like VersionNT / NOT VersionNT.

Thanks anyway for your time

Milan

Stefan Pavlik napsal(a):
Hi Milan,...

Milan Tomeš wrote:
  
Hi all,

RadioGroup is linked to property 
_ServiceInstall which has value "VersionNT". I guess that will result in 
1 if VersionNT is set and 0 if not right ? If its true so why my code 
isn't working ? If I set 1 instead if VersionNT in _ServiceInstall 
property value its working ok.
    

You didn't post the code for initial setting of _ServiceInstall
property.

I think it should be the custom action (type 51), sequenced before
displaying of the dialog and conditioned by the VersionNT property.


<Property Id='_ServiceInstall' Value='0' /> <!-- default value -->

<CustomAction Id="PROPCA__ServiceInstall" Property="_ServiceInstall"
Value="1" Execute="immediate" />

<InstallUISequence>
<Custom Id='PROPCA__ServiceInstall' Before='...' >VersionNT</Custom>
</InstallUISequence>

Hope that it will help you.

Regards

Stefan

  
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to