467,130 Members | 1,229 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,130 developers. It's quick & easy.

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
  • viewed: 3845
Share:
2 Replies
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Angela | last post: by
3 posts views Thread by Vai2000 | last post: by
reply views Thread by Ron Andersen | last post: by
reply views Thread by Gabriel Lozano-Morán | last post: by
1 post views Thread by lyl209@gmail.com | last post: by
1 post views Thread by Gene | last post: by
10 posts views Thread by =?Utf-8?B?SmFjayBTbWl0aA==?= | last post: by
reply views Thread by =?Utf-8?B?QWxoYW1icmEgRWlkb3MgS2lxdWVuZXQ=?= | last post: by
3 posts views Thread by KennethLundin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.