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.

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 1349
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
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
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
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
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
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
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
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
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
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
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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
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
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...

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.