473,624 Members | 2,543 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Deployment project - Custom Action

Hi
What I want to do is execute a cdm script created from a DataBase project
with the Create Command File option. It doesn't appear that I can call this
cmd file directly as a custom action. So I have created a Custom Action
project and added it to my Deployment project. I pass the necessary
parameters to it from CustomActionDat a. I can't work out how to access
[TARGETDIR] to call the script.
TIA Steve
Nov 22 '05 #1
4 3578
Hi Steve,

Thanks for posting.

To pass TARGETDIR, we need to use the following format:

/name="[TARGETDIR]\"

Please make sure that we do not miss any quotation marks or slash. You may
also refer to the following link:

CustomActionDat a Property
http://msdn.microsoft.com/library/de...us/vsintro7/ht
ml/vxgrfcustomacti ondataproperty. asp?frame=true

I hope this helps.

Regards,

Felix Wang
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 22 '05 #2
Thanks, I was missing the quotes.

Regards Steve

"Felix Wang" <v-*****@online.mi crosoft.com> wrote in message
news:zN******** *****@cpmsftngx a10.phx.gbl...
Hi Steve,

Thanks for posting.

To pass TARGETDIR, we need to use the following format:

/name="[TARGETDIR]\"

Please make sure that we do not miss any quotation marks or slash. You may
also refer to the following link:

CustomActionDat a Property
http://msdn.microsoft.com/library/de...us/vsintro7/ht ml/vxgrfcustomacti ondataproperty. asp?frame=true

I hope this helps.

Regards,

Felix Wang
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 22 '05 #3
Hi Steve,

Please feel free to post here if you have any futher concerns regarding
this issue.

Have a nice day.

Regards,

Felix Wang
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 22 '05 #4
Hi Steve,

Please feel free to post here if you have any futher concerns regarding
this issue.

Have a nice day.

Regards,

Felix Wang
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 22 '05 #5

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

Similar topics

0
1450
by: Greg Shaw | last post by:
I have a Deployment project with a version number (It's a project property the same as DetectNewerInstalledVersion). I also have a Custom Action. I want to save the Version number of the project into a file on installation (as per AppUpdater). How do I reference this (or any) property from within the Custom Action? Custom Action is inherited from System.Configuration.Install.Installer. Thanks for any pointers, Greg
3
404
by: runningdog | last post by:
Hi What I want to do is execute a cdm script created from a DataBase project with the Create Command File option. It doesn't appear that I can call this cmd file directly as a custom action. So I have created a Custom Action project and added it to my Deployment project. I pass the necessary parameters to it from CustomActionData. I can't work out how to access to call the script.
5
4908
by: Arun Bhalla | last post by:
I'm working with VS.NET 2003 and .NET 1.1 (not SP1) on Windows XP SP1. My application is using the Windows Installer Bootstrap. (I may have also installed a module which detects requirements (.NET 1.1 -> MsiNetAssembly Support.) I have a few issues and questions regarding the MSI and its properties. * This may be my biggest annoyance at the moment. When the installer creates the target directory, it's setting them as read-only. When the...
3
293
by: Jim Owen | last post by:
Hi All, I'm putting together my first web deployment project using VS2003 and have a few questions someone might be able to help on. First, I need to modify the web.config file based on entries made during the installation from one of the TextBoxes dialogs. Is this possible? If so, can someone point me in the direction of some doc or samples for this? Second, is it possible to return errors from a custom action back to the installer...
0
1597
by: Scanner2001 | last post by:
I have a web service and a deployment project. Inside the deployment project, is a custom action to create some database related items such as stored procedures. I have this packaged as an msi, and can run the deployment on win2k, win2k server, and winxp without problems. The database related part of the custom deployment action uses integrated security to login (SSPI). When tracing the deployments using sql profiler from any of the...
7
2829
by: dhussong | last post by:
I have created a Setup and Deployment project in Visual Studio.NET 2003. After my installation has completed running I'd like to launch the EXE that I just installed. I've found how to launch the EXE in the Custom Actions area of the Setup and Deployment project. Unfortunately when the EXE is launched it causes the setup program to stay open until the EXE has been exited. Anyone have any ideas how to launch the EXE and get the setup...
7
4036
by: Terry Holland | last post by:
I have just created my first asp.net application and I am ready to deploy. The solution consists of the following: A single asp.net assembly to be deployed to web server A number of vb.net assemblies to be deployed to application server. Some of these assemblies will be shared by future applications. There is also a SQL Server DB that I need to install onto live server. The only way I have deployed asp.net app before is to copy my...
3
1280
by: SimeonArgus | last post by:
I am using Visual Studio 2005, and I have created a deployment project to distribute the app I've built. Now, I need to add a dialog (which I've done) to collect two prompts. Based on those two prompts, I need to add a line to a config file. Here's my catch: How do I modify the installer to write those two items to a config file... or even better .. how do I execute an SQL command without writing my own installer app? I'm so close that...
13
9698
by: Matt F | last post by:
I have a deployment project that I'm setting up. I need to perform a different custom action based on whether this is a first time install or an update. Does anyone have any idea if it's possible to set the Condition property of a custom action to determine if the currently running install is upgrading a previous installation and if so how? I'm also open to other methods of acheiving this functionality.
3
5850
by: KennethLundin | last post by:
Hi, i'm developing a solution in VS9/CSharp. Now I'm constructing a deployment project for my appliation (thick, database driven, winforms, standard, good old type of application). During installation I also install the PostgreSQL database and along with that I need to execute some Custom Actions. I've created a Custom Installer component in CSharp and calls it on Install/Rollback/ uninstall and everything works great (Custom Actions...
0
8249
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
8179
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
8633
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8348
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,...
1
6112
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
5570
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4187
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2613
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
1
1797
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.