473,503 Members | 8,784 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Custom action for configuration

Hi, I am creating a setup for my application. After installation, I want to
show a window to allow configuration (language, licence key). By using
custom actions and having a new project containing only an Installer class,
I am able to show the form. However, if I put the Installer class in the
same assembly as my application, then it doesn't run. Why?

Also, when I show that window using ShowDialog(), it doesn't appear as a
dialog window and the user still have access to the installer window behind,
although the window is waiting for my custom form to close. Is there a way I
can show my custom form as a dialog over the installer window?

Thanks!
Etienne

Jul 21 '05 #1
2 1355
In article <#2**************@tk2msftngp13.phx.gbl>, Etienne Charland wrote:
Also, when I show that window using ShowDialog(), it doesn't appear as a
dialog window and the user still have access to the installer window behind,
although the window is waiting for my custom form to close. Is there a way I
can show my custom form as a dialog over the installer window?


Get Microsoft Platform SDK and read a section on Microsoft Installer.

MSI has built-in UI. You are supposed to use MSI UI first. It is
possible (as you described), but not recommended to bypass this UI.
Jul 21 '05 #2
In article <#2**************@tk2msftngp13.phx.gbl>, Etienne Charland wrote:
Also, when I show that window using ShowDialog(), it doesn't appear as a
dialog window and the user still have access to the installer window behind,
although the window is waiting for my custom form to close. Is there a way I
can show my custom form as a dialog over the installer window?


Get Microsoft Platform SDK and read a section on Microsoft Installer.

MSI has built-in UI. You are supposed to use MSI UI first. It is
possible (as you described), but not recommended to bypass this UI.
Jul 21 '05 #3

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

Similar topics

1
1625
by: Angela | last post by:
I wrote a class that I intended to be a custom action. I added the DLL for the class to the setup project using the CustomActions editor. When I run the installer it completely ignores the custom...
0
1429
by: Greg Shaw | last post by:
I have a Deployment project with a version number (It's a project property the same as DetectNewerInstalledVersion). I also have a Custom Action. I want to save the Version number of the project...
3
2129
by: Hans [DiaGraphIT] | last post by:
Hi! Can anyone help me with translating a VB-code to C#? I'm reading the walkthrough: Passing data to a custom action. In part 4 were you create an installer class there is a example of...
3
2316
by: DC Gringo | last post by:
Hi, I'm trying to use a custom action to modify a database (rather than create one) using the VS.NET '03's help example called "Custom Action to Create Database During Installation". I've made...
2
243
by: Etienne Charland | last post by:
Hi, I am creating a setup for my application. After installation, I want to show a window to allow configuration (language, licence key). By using custom actions and having a new project containing...
1
24260
by: steve | last post by:
Hi all, Here's some work in progress that should allow you to run a batch file as a custom action in a VS deployment project. Yup I know you can use js or wsh, but the target may not have...
13
9671
by: Matt F | last post by:
I have a deployment project that I'm setting up. I need to perform a different custom action based on whether this is a first time install or an update. Does anyone have any idea if it's possible...
7
10806
by: =?Utf-8?B?RG91Z2llIEJyb3du?= | last post by:
Hi I've written custom configuration section (inherits from System.Configuration.ConfigurationSection) to simplify the contents of the config file and to make life easier when accessing them in...
0
2119
by: =?Utf-8?B?QWxoYW1icmEgRWlkb3MgS2lxdWVuZXQ=?= | last post by:
Actually, my installer package is not for a Windows Service, but for a WinForms application. Well, it is kind of both: this is a multi-project solution with its main target being a WinForms...
0
7194
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
7267
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7316
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
7449
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
5566
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,...
1
4993
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
4666
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3160
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3148
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.