Conditionally adding shortcut to the StartUp folder during deploym

Giganews Newsgroups
Subject: Conditionally adding shortcut to the StartUp folder during deploym
Posted by:  Paul Chorley (PaulChorley@community.nospam)
Date: Thu, 14 May 2009

Hello,

I have a simple test solution consisting of a VS2008 C# Wndows Forms
application and a setup project. In the filesystem editor I've added the
"User's Startup Folder" and added a shortcut to the application .exe.
Installing this works as expected with the shortcut being added to the
startup folder and the application executing when windows starts.

I've added some radio buttons using the "User Interface Editor" in the hope
that the user can select if they want the shortcut added during installation.
However, I can't see any "Condition" property under the shortcuts Properties
box to tie into the radio buttons property.

Is there a way around this problem.

Thanks,
Paul

Replies