473,396 Members | 1,743 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.

Difficulty with .Net installer User Interface

I'm deploying a C# Windows app using VisualStudio.Net 7.1.3088, and for the life of me I can't get the Checboxes(A) to work properly. All I am trying to do is use checkboxes to prompt the user about whether to install desktop and program menu shortcuts, but the installer always installs them no matter what the user selects. I have set conditions on the "User's Desktop" and "User's Program Menu" file-system items (actually the program-menu shortcut location is in a subfolder, but I set a condition there too), and I have declared the matching condition in the checkbox properties. I have also set "Always Create" to false, but it still doesn't work. I'm sure it must be something I am doing wrong, but I just can't imagine what it might be. Any ideas? Thanks...
Jul 21 '05 #1
6 1546
Malcolm,

I'm not sure what tool you are using to make your install. I'm assuming VS.NET, but I'm not familiar with that.

I do know a bit about MSI, though. My first suspicion is that you are setting the property in the WIndows Installer's User Interface thread, but that isn't getting carried over into the Execution threads. Make sure the name of the property is all UPPERCASE, and that might fix it. (Background: Windows Installer on Win2000/XP runs three different processes: UI Immediate, Execute Immediate, Execute Deferred. You need to take care in having these kids play together.)

Hank

"Malcolm P." wrote:
I'm deploying a C# Windows app using VisualStudio.Net 7.1.3088, and for the life of me I can't get the Checboxes(A) to work properly. All I am trying to do is use checkboxes to prompt the user about whether to install desktop and program menu shortcuts, but the installer always installs them no matter what the user selects. I have set conditions on the "User's Desktop" and "User's Program Menu" file-system items (actually the program-menu shortcut location is in a subfolder, but I set a condition there too), and I have declared the matching condition in the checkbox properties. I have also set "Always Create" to false, but it still doesn't work. I'm sure it must be something I am doing wrong, but I just can't imagine what it might be. Any ideas? Thanks...

Jul 21 '05 #2
Malcolm,

I'm not sure what tool you are using to make your install. I'm assuming VS.NET, but I'm not familiar with that.

I do know a bit about MSI, though. My first suspicion is that you are setting the property in the WIndows Installer's User Interface thread, but that isn't getting carried over into the Execution threads. Make sure the name of the property is all UPPERCASE, and that might fix it. (Background: Windows Installer on Win2000/XP runs three different processes: UI Immediate, Execute Immediate, Execute Deferred. You need to take care in having these kids play together.)

Hank

"Malcolm P." wrote:
I'm deploying a C# Windows app using VisualStudio.Net 7.1.3088, and for the life of me I can't get the Checboxes(A) to work properly. All I am trying to do is use checkboxes to prompt the user about whether to install desktop and program menu shortcuts, but the installer always installs them no matter what the user selects. I have set conditions on the "User's Desktop" and "User's Program Menu" file-system items (actually the program-menu shortcut location is in a subfolder, but I set a condition there too), and I have declared the matching condition in the checkbox properties. I have also set "Always Create" to false, but it still doesn't work. I'm sure it must be something I am doing wrong, but I just can't imagine what it might be. Any ideas? Thanks...

Jul 21 '05 #3

Malcolm,

I'm not sure what tool you are using to make your install. I'm assuming VS.NET, but I'm not familiar with that.

I do know a bit about MSI, though. My first suspicion is that you are setting the property in the WIndows Installer's User Interface thread, but that isn't getting carried over into the Execution threads. Make sure the name of the property is all UPPERCASE, and that might fix it. (Background: Windows Installer on Win2000/XP runs three different processes: UI Immediate, Execute Immediate, Execute Deferred. You need to take care in having these kids play together.)

Hank

"Malcolm P." wrote:
I'm deploying a C# Windows app using VisualStudio.Net 7.1.3088, and for the life of me I can't get the Checboxes(A) to work properly. All I am trying to do is use checkboxes to prompt the user about whether to install desktop and program menu shortcuts, but the installer always installs them no matter what the user selects. I have set conditions on the "User's Desktop" and "User's Program Menu" file-system items (actually the program-menu shortcut location is in a subfolder, but I set a condition there too), and I have declared the matching condition in the checkbox properties. I have also set "Always Create" to false, but it still doesn't work. I'm sure it must be something I am doing wrong, but I just can't imagine what it might be. Any ideas? Thanks...


Jul 21 '05 #4
Thanks Hank,

I am indeed using VS.Net. Unfortunately the property I defined was already in uppercase, so I guess that isn't the problem. I'm still stumped...

MP

"Hank Coffin" wrote:
Malcolm,

I'm not sure what tool you are using to make your install. I'm assuming VS.NET, but I'm not familiar with that.

I do know a bit about MSI, though. My first suspicion is that you are setting the property in the WIndows Installer's User Interface thread, but that isn't getting carried over into the Execution threads. Make sure the name of the property is all UPPERCASE, and that might fix it. (Background: Windows Installer on Win2000/XP runs three different processes: UI Immediate, Execute Immediate, Execute Deferred. You need to take care in having these kids play together.)

Hank

"Malcolm P." wrote:
I'm deploying a C# Windows app using VisualStudio.Net 7.1.3088, and for the life of me I can't get the Checboxes(A) to work properly. All I am trying to do is use checkboxes to prompt the user about whether to install desktop and program menu shortcuts, but the installer always installs them no matter what the user selects. I have set conditions on the "User's Desktop" and "User's Program Menu" file-system items (actually the program-menu shortcut location is in a subfolder, but I set a condition there too), and I have declared the matching condition in the checkbox properties. I have also set "Always Create" to false, but it still doesn't work. I'm sure it must be something I am doing wrong, but I just can't imagine what it might be. Any ideas? Thanks...

Jul 21 '05 #5
What OS are you running it on? With Wise for Windows Installer they have a merge module that fixes problems with conditional features on Windows 9x. I don't know if VS.NET has anything similar.

"Malcolm P." wrote:
Thanks Hank,

I am indeed using VS.Net. Unfortunately the property I defined was already in uppercase, so I guess that isn't the problem. I'm still stumped...

MP

"Hank Coffin" wrote:
Malcolm,

I'm not sure what tool you are using to make your install. I'm assuming VS.NET, but I'm not familiar with that.

I do know a bit about MSI, though. My first suspicion is that you are setting the property in the WIndows Installer's User Interface thread, but that isn't getting carried over into the Execution threads. Make sure the name of the property is all UPPERCASE, and that might fix it. (Background: Windows Installer on Win2000/XP runs three different processes: UI Immediate, Execute Immediate, Execute Deferred. You need to take care in having these kids play together.)

Hank

"Malcolm P." wrote:
I'm deploying a C# Windows app using VisualStudio.Net 7.1.3088, and for the life of me I can't get the Checboxes(A) to work properly. All I am trying to do is use checkboxes to prompt the user about whether to install desktop and program menu shortcuts, but the installer always installs them no matter what the user selects. I have set conditions on the "User's Desktop" and "User's Program Menu" file-system items (actually the program-menu shortcut location is in a subfolder, but I set a condition there too), and I have declared the matching condition in the checkbox properties. I have also set "Always Create" to false, but it still doesn't work. I'm sure it must be something I am doing wrong, but I just can't imagine what it might be. Any ideas? Thanks...

Jul 21 '05 #6
Hi Hank,

I am using Windows XP Pro 5.1.2600. This problem is truly vexing, as the VS.Net installer system seems quite simple, but just doesn't seem to work!

MP

"Hank Coffin" wrote:
What OS are you running it on? With Wise for Windows Installer they have a merge module that fixes problems with conditional features on Windows 9x. I don't know if VS.NET has anything similar.

"Malcolm P." wrote:
Thanks Hank,

I am indeed using VS.Net. Unfortunately the property I defined was already in uppercase, so I guess that isn't the problem. I'm still stumped...

MP

"Hank Coffin" wrote:
Malcolm,

I'm not sure what tool you are using to make your install. I'm assuming VS.NET, but I'm not familiar with that.

I do know a bit about MSI, though. My first suspicion is that you are setting the property in the WIndows Installer's User Interface thread, but that isn't getting carried over into the Execution threads. Make sure the name of the property is all UPPERCASE, and that might fix it. (Background: Windows Installer on Win2000/XP runs three different processes: UI Immediate, Execute Immediate, Execute Deferred. You need to take care in having these kids play together.)

Hank

"Malcolm P." wrote:

> I'm deploying a C# Windows app using VisualStudio.Net 7.1.3088, and for the life of me I can't get the Checboxes(A) to work properly. All I am trying to do is use checkboxes to prompt the user about whether to install desktop and program menu shortcuts, but the installer always installs them no matter what the user selects. I have set conditions on the "User's Desktop" and "User's Program Menu" file-system items (actually the program-menu shortcut location is in a subfolder, but I set a condition there too), and I have declared the matching condition in the checkbox properties. I have also set "Always Create" to false, but it still doesn't work. I'm sure it must be something I am doing wrong, but I just can't imagine what it might be. Any ideas? Thanks...

Jul 21 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: indrekm | last post by:
How can I create Application Installer, that copy exe some dll's, register dll's, ask licence agreement, ask show readme.txt etc. I made new Setup project, but how configure it (add licence...
1
by: Tim Marshall | last post by:
I've just received a new computer with Win XP Version 5.1.2600. I want to have Access 2003 and Access 97 running on this, so I did some googling on cdma and it seems I must install these versions...
0
by: Petrucci2000 | last post by:
I have written custom installer class with my setup proj. I was wondering how do I extract checkbox values from the user interface (I have added an extra user interface dialog with a checkbox). ...
1
by: Rob Reagan | last post by:
I need to write an installer bootstrap program for my Visual Basic .NET application. This installer program needs to compile to native code. I will use this installer to check to see if the .NET...
1
by: BuddyWork | last post by:
Hello, When a particular user (has administrator rights) on a Windows 2000 Server SP4 tries to run any MSI's we get the message mentioned in the subject. If we logon with another user that has...
3
by: MovnOn | last post by:
I've created an installation package for my program. Before installation, I use the User Interface to get values that are added to the registry. One of the values that the user must add is a path...
6
by: Malcolm P. | last post by:
I'm deploying a C# Windows app using VisualStudio.Net 7.1.3088, and for the life of me I can't get the Checboxes(A) to work properly. All I am trying to do is use checkboxes to prompt the user about...
1
by: dwelch91 | last post by:
c.l.p- I am undertaking writing an installer for a software package using Python. It is exclusively for Linux. Because this is an installer and has to run on numerous Linux distros, it is...
2
by: ketil V. | last post by:
I am trying to install Oracle 8.1.7-3 on a clean SuSE 8.2 - based system, but the Installer will not pop up any interface! What I have done is the following: - Installed 8.2, and upgraded with...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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.