By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,950 Members | 1,019 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,950 IT Pros & Developers. It's quick & easy.

Custom Actions

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.