473,396 Members | 1,918 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

.NET Setup Project: How to apply conditions to FileSystem

Plater
7,872 Expert 4TB
I have a Setup Project which is going to install a windows application.
What I want to do, is based on checkbox selection, either create or do NOT create shortcuts in the start menu and on the desktop.
Seems like a pretty commonly used feature on the installers I have seen.
I had added the Checkbox(A) dialog and setup my checkboxes.
The value properties are
CBDESKTOP and CBSTARTMENU
I can see when I print out the values of [CBSTARTMENU] and [CBDESKTOP] what the actual value of the checkboxes are (nothing for unchecked and a 1 if checked)
No I want to put them in the Condition statement in the File System page on the User's Desktop and the User's Programs Menu



I have tried the following phrases in the Condition property based on what I read online and what MSDN says for the format of the condition property
CBDESKTOP
[CBDESKTOP]
CBDESKTOP=1
[CBDESKTOP]=1
CBDESKTOP=True
[CBDESKTOP]=True
Regardless of what is checked or not checked, the items are always installed as if there was no condition property.

Has anyone done this successfully?
Oct 23 '08 #1
0 2207

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Ryno Rijnsburger | last post by:
I am busy packaging our product as a standard Setup project in VS.NET that uses a bunch of merge modules (basically, a merge module for every key infrastructure component in our system). Part...
1
by: Lore Leuneog | last post by:
Hello. I want to embed the framework setup with my project setup. Does any body know where in the (Visual Studio .net) Setup-Project I can set the option to install the framework first? Thank...
0
by: Blake | last post by:
Hello, Does anyone know if there is any way to add a condition to your setup project so that the user can choose if they want a desktop shortcut or a program menu by selecting a checkbox. I...
4
by: pbj | last post by:
my application was created in vb.net, vs 2003. the setup project was also created in vs 2003. one of my application reviewers reported this: The .Net link that is included in the setup is not the...
0
by: Husam | last post by:
Hi EveryBody : I did the follwoing procuderes but it did not work with me: 1- Make sure that the Visual Studio .NET Framework Bootstrapper Plug-in is installed. 2- Select the Setup project in...
0
by: Husam | last post by:
Hi EveryBody: I read the articl "using Visual Studio Net 2003 to redistrbuted the Net framework" which is in the msdn library and I applied every step in it to add the Net framework to the...
2
by: Sathyaish | last post by:
I've written an Add-in for MS Outlook and in Visual Studio .NET 2003, I also created a setup project to install the add-in. It all works well. When the user double-clicks on the .msi file to...
2
by: GB | last post by:
Hi, I use VS2003, (VB.Net) I would like all the files of a given directory to be included by my setup project (to distribute a bunch of application data files). Of course I know how to do it...
1
by: =?Utf-8?B?UGF0IE1vcmFu?= | last post by:
How do I remove an assembly that has been added to the filesystem view of a Visual Studio setup project. Pat
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.