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.
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)
Please log in to answer
Posted by:
MSIPackager
19 years ago
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.
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
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.
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.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.