Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Adding a bat file to an installer
 

Adding a bat file to an installer

Hi,

I am looking into adding a small .bat file to the deployment project, to add a switch to a .exe that I would like to run during the install.

If I add a bat file how to I make the installer call it? I am think just the process of Add a File will not actually cause the file to run.

Or is there maybe there is an installation script or ini that I can make mods too?

Thanks for any direction.

Jeff

Hooper  Wednesday, December 13, 2006 8:57 PM
ahmedilyas  Wednesday, December 13, 2006 10:35 PM
ahmedilyas  Wednesday, December 13, 2006 10:35 PM

Hi ahmedilyas,

You were correct. Custom actions seems to do what I need.

Thanks Much

Jeff

Hooper  Thursday, December 14, 2006 2:36 PM

You can use google to search for other answers

Custom Search

More Threads

• Bootstrapper
• Can I use the installer on my own computer?
• Deploye licensed Product
• Installing via ClickOnce
• Very dangerous message
• Installed Application Re-Installs Files if a Deployed Install File is Deleted
• Mechanics of a published application and blue screens
• C# Setup Application
• Improperly Formatted
• Detached prerequisite detection