Trying to open shortcut in Programs Menu folder throwing exception

58 Views Asked by At

I tried the above solution,but unfortunately there is no difference in behaviour.So kindly suggest how to proceed further.

Regards, Ranjan VijayKumar.

2

There are 2 best solutions below

0
On

See the Wix samples for how to create a shortcut the proper way.

A couple of more links:

0
On

Well you have a crash of some kind, not a WiX issue. If the install didn't fail, then you just have a crashing app. Tell someone what the exception is, the actual error message. Add some debugging to your program and perhaps try/catch exception handling and tracing to see how far it gets and where it crashes. For debug purposes, have it show a message box as the first thing it does so you can see that it loads and has no missing dependencies. Verify in your code that the things you are doing are actually working etc. I'm guessing it's been voted down most likely because it's not a WiX question at all - it's just your code crashing or a missing dependency for which have supplied no data at all.