Custom Actions

A

Angela

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#)?
 
A

Angela

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]
----
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#)?


.
 
D

Dmitriy Lapshin [C# / .NET MVP]

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 said:
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]
----
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#)?


.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top