Custom Actions

  • Thread starter Thread starter Angela
  • Start date Start date
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#)?
 
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#)?


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


.
 
Back
Top