473,322 Members | 1,431 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,322 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 1545
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: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.