473,749 Members | 2,513 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How do I setup batch file in custom action

Hi experts:
I have a setup project which needs to run a batch file after installation. I
have a normal custom action added into to the install. How do I get this
batch file executed after installation?

Thanks!
Hank
Jan 10 '06 #1
0 1226

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
290
by: source | last post by:
I have a setup project and I am adding registry entries in my setup. For one of my regitry entries I need to assing the value of the path. When I put the value of my registry as \mypage.htm when I install my app, the value is simply set as "\mypage.htm" without the path of the application folder. If I also need to run a batch file as one of the Custom Action, my main problem is ... within my batch file I need to register my dll, so I...
2
5365
by: MENTAT | last post by:
Hi, I am trying to create an installer for my web application. So I added a web setup project to my solution (I am using VS.NET 2003). Been playing around with it since then and it basically works. Now, I am wondering if there is any way to change the directory that the installer installs the files to. I want to be able to put my files in a specified directory (user specified is good, but i don't mind hardcoding the path either) and...
1
1558
by: source | last post by:
I have a setup project and I am adding registry entries in my setup. For one of my regitry entries I need to assing the value of the path. When I put the value of my registry as \mypage.htm when I install my app, the value is simply set as "\mypage.htm" without the path of the application folder. If I also need to run a batch file as one of the Custom Action, my main problem is ... within my batch file I need to register my dll, so I...
4
20889
by: Joe | last post by:
I created a CustomAction for this but I don't think I have it in the right place. I tried both Install and Commit but neither allow it to get to the final screen. Are there any examples of this anywhere? Thanks, Joe
1
24307
by: steve | last post by:
Hi all, Here's some work in progress that should allow you to run a batch file as a custom action in a VS deployment project. Yup I know you can use js or wsh, but the target may not have either.. Essentially it's just a wrapper for the Process class and a command interpreter. Warning, it only partly works. I had wanted to pass in (a) The name of the batch file (through "BatchFileName"), and
1
4475
by: auad | last post by:
hi, I would like to register a dll (regasm) during the execution of my setup using custom actions. I don't know where to place the parameters for regasm in the custom action. I tried using " \myAssembly.dll " but regasm.exe didn't run during the execution of the setup. regasm <myAssembly.dll/codebase
1
3601
by: rohan_from_mars | last post by:
I have a windows service and am also using Enterprise Library June 2005 version. Now i have created Setup and Deployment Project which installs the service. but how do i add EL dlls- Common.dll, Logging.dll, Configuration.dll, Data.dll into setup project so that it is also installed automatically. It should perform what the 'Install Services.bat ' performs. I have created ProjectInstaller.cs file also
1
5018
by: =?Utf-8?B?QnJhbmRvbg==?= | last post by:
I have a .sql script that holds the configuration of a local sql express database needed for my C# .net forms app. I would like the script to run. Right now, I have a install_db.cmd file that basically just runs the sql script from the command line. I made a console app that runs the install_db.cmd I added that console app to the application folder and then ran that as a custom action. The command windows pops up real quick, but then...
0
1102
by: parez | last post by:
Hi, I have a setup and deployment project. I am using vs 2008. During the setup process, I want to give full security access to run a network exe. How do i do it? I can create a batch file.. but how do i run a batch file during installtion? Is there way without writing a custom action? if not then is there a
0
8997
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8833
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9568
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9335
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8257
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6801
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4881
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3320
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2794
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.