473,385 Members | 1,359 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,385 software developers and data experts.

Custom Actions

This is my first Web Setup App. and I'm learning
everything by trial and error. I need to write a couple
custom actions, but I must be doing something wrong
because they are causing errors.

Can someone give me an example of how to write a custom
action (C#)?
Jul 19 '05 #1
2 4105
Thank you for responding

I need to be able to set some IIS properties, check the
version of the .NET Framework, and run DB scripts
-----Original Message-----
What are you trying to do? What do you want the custom actions to do?--
Phil Wilson [MVP Windows Installer]
----
"Angela" <An*************@globalcrossing.com> wrote in messagenews:0a****************************@phx.gbl...
This is my first Web Setup App. and I'm learning
everything by trial and error. I need to write a couple
custom actions, but I must be doing something wrong
because they are causing errors.

Can someone give me an example of how to write a custom
action (C#)?

.

Jul 19 '05 #2
Hello Angela,

The MSDN Library has an example of a custom action running an SQL script.
The topic name is something like "Passing data to a custom actions" as it
demonstrates usage of the CustomActionData property to pass SQL server,
login name and password to the custom action.

--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

"Angela" <An*************@globalcrossing.com> wrote in message
news:03****************************@phx.gbl...
Thank you for responding

I need to be able to set some IIS properties, check the
version of the .NET Framework, and run DB scripts
-----Original Message-----
What are you trying to do? What do you want the custom

actions to do?
--
Phil Wilson [MVP Windows Installer]
----
"Angela" <An*************@globalcrossing.com> wrote in

message
news:0a****************************@phx.gbl...
This is my first Web Setup App. and I'm learning
everything by trial and error. I need to write a couple
custom actions, but I must be doing something wrong
because they are causing errors.

Can someone give me an example of how to write a custom
action (C#)?

.


Jul 19 '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...
3
by: Vai2000 | last post by:
Hi All, I need to execute custom action during installation of my program (through MSI). Creating the MSI was pretty straight fwd. After that I went into the Custom Action Editor and added the...
0
by: Ron Andersen | last post by:
I have C# custom actions and merge modules created in Visual Studio to install some components of the application I am working on. The merge modules are used with an Install Shield 9 project. ...
0
by: Gabriel Lozano-Morán | last post by:
We have developed an application that will replace the older version. The older versions comes in two flavors, a Lite and a Pro version. I can successfully remove the previous version of either the...
1
by: lyl209 | last post by:
Hi, I am trying to create a web setup project for my asp.net 2.0 website and I had some problems. It worked fine until I want to add some custom actions into it. As some of you already knew,...
1
by: Gene | last post by:
I would like to know if the following is even possible with the visual studio.net Setup and Deployment project. 1. During the deployment after creation of application directory the setup needs...
10
by: =?Utf-8?B?SmFjayBTbWl0aA==?= | last post by:
Hello, I have a solution that contains a C# application that is installed and runs as a service. The solution also contains several DLLs, some of which are C# assemblies and some are C++ DLLs. ...
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...
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...
3
by: KennethLundin | last post by:
Hi, i'm developing a solution in VS9/CSharp. Now I'm constructing a deployment project for my appliation (thick, database driven, winforms, standard, good old type of application). During...
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...
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...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

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.