/build/static/layout/Breadcrumb_cap_w.png

LaunchConditions and Advertisting

Hello,

I created and MSI which I only want to install on XP SP1 so I set a launch condition of ServicePackLevel = 1

No probs, when you try and click the advertsied shortcut on an SP2 machine it tells you to go away. However when I try and remove the advertised application via Add/Remove Programs it won't let me as it's processing the launch conditions...

I guess I need to set a condition on the LaunchConditions action in the InstallExecuteSequence table but am not sure what condition to set as the product is only advertised, not installed.

Haven't cracked it yet - does anyone have any ideas on how to get around this one?

Cheers,
Rob.

0 Comments   [ + ] Show comments

Answers (4)

Posted by: VikingLoki 19 years ago
Second Degree Brown Belt
0
The password is...

If NOT Remove then [launch condition]
Posted by: MSIPackager 19 years ago
3rd Degree Black Belt
0
Thanks Loki, are you saying set a launch condition of:

If NOT Remove then [ServicePackLevel <= 1]

And forget setting a condition on the LaunchConditions action in the InstallExecuteSequence table? If so, how would that work?! If that's not what you mean, any chance you could elaborate a bit? [:)]

Cheers,
Rob.
Posted by: MSIPackager 19 years ago
3rd Degree Black Belt
0
Well for anyone interested I fixed it by using the following condition on the LaunchConditions action in the InstallExecuteSequence table:

ProductState = 1 AND NOT REMOVE="ALL"

and a LaunchCondition of:

ServicePackLevel <= 1


If anyone knows of another way to skin this particular cat I'd be interested to hear it.

Cheers,
Rob.
Posted by: rajashekar 14 years ago
Yellow Belt
0
Hi,
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ