Skip to content
Discussion options

You must be logged in to vote

Ah, that link was very helpful, thanks!

My takeaway from that is that I won't be able to handle this with one entry in the Environment table. Whether something is installed system or user depends on the prefix of the name in that table, and the type of that is Text, which I assume means I can't make that depend on the value of some property during install.

What I ended up doing now is just have two components with a condition ALLUSERS=2 OR MSIINSTALLPERUSER=1 for one and NOT (ALLUSERS=2 OR MSIINSTALLPERUSER=1) for the other, and one has an environment element with System='yes' and the other one with System='no'. That part looks like this now:

<Component Id="JuliaupExecutableSystem" Guid="…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@robmen
Comment options

@davidanthoff
Comment options

Answer selected by davidanthoff
@robmen
Comment options

@davidanthoff
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants