Click here to Skip to main content
15,903,201 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

I have created windows installer for my application. There are couple of things I can't find the solution of and need help. It would be great if anyone can help on any of the matters :

1) I want checkbox for "Create shortcut to desktop" and if this is selected True then only create shortcut that is added in User's Desktop. I created a custom dialogs and a checkbox in it the Checkbox1Propert is set to "DESKTOPSHORTCUT". In User's Desktop, I have set "Always Create = False", Ccondition ="DESKTOPSHORTCUT=1" and TRansitive=False. BUT the msi creates a icon on desktop regardless of I click or don't clikc the chekcbox. How to set this ?

2) In Custom Actions, I install another application under "Install". While uninstalling I want to uninstall the installed app under "Install". For install, I have set its Arguments as "/Install". For Uninstalling, in Custom Actions I added the same file under "Uninstall" and gave its Arguments as "/Uninstall". But while uninstalltion of my application, the third application gets installs instead of uninstalling it.

3) Before I install the application from Custom Action, I would like to know if the application is already installed. If not, then only install it.


What are hte possible solutions for above problems to solve with Windows Installer using Visual Stidio. I would request to help me at the earliest as I require to solve ASAP.

Thanks
Posted
Updated 3-Jun-11 0:30am
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900