cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Simon_Yang
Level 6

How to prevent install shortcuts to start menu dynamicly?

I have a MIS baisc project which has two shortcuts. I want to let user choose install shortcuts or not in installation GUI while installing. I knew I can remove the shortcuts from database of MSI file in runtime to reach this goal. However, it will destory the original msi file and a little complex.

Is there anyone knows how to prevent install shortcuts in a easier way?

Thanks a lot!
Labels (1)
0 Kudos
(3) Replies
Christoph
Level 8

you can create a separate component that contains all your shortcuts and put a condition on that component.

That condition contains the result of the checkbox that asks whether to install the shortcuts or not.
0 Kudos
Simon_Yang
Level 6

Thanks,

I found a way that give action "CreateShortCuts" a condition.

Is that OK?
0 Kudos
Christoph
Level 8

that is also a possibility.
If this works for your scenario... you can do this but this means that no shortcuts will be created as long as this condition is not met.

With my solution... you place the condition on the component

You're call... 😉
0 Kudos