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

Home Posts Topics Members FAQ

using deployment properties in custom action

I have a Deployment project with a version number (It's a project
property the same as DetectNewerInst alledVersion).
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.Configur ation.Install.I nstaller.

Thanks for any pointers, Greg
Jul 21 '05 #1
0 1449

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

Similar topics

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.
1
1552
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...
1
1455
by: harry | last post by:
Hi all I am using VS.NET 2003 installer to deploy my ASP.NET application. I want to allow ASPNET write access to some files in subfolders of the inetpub/wwwroot/myApp/mySubfolder using VS.NET 2003 deploy project. Is there a script or conditions that I have to set in the deployment project's properties? I have tried deploying it but could not find where I would grant ASPNET
2
353
by: Ricky | last post by:
I am doing setup and deployment for the first time in .NET. I have developed an application in VB.NET which uses a third party component. But in order for the component to work I need to register the component first. So I developed another applciation which does the registering automatically. So now I have 2 exe's. One exe registers the component and calls the actual second exe. When I am creating the setup I am selecting both the exe's...
0
291
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
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...
1
1880
by: Gene | last post by:
I would like to know if the following is even possible with the visual studio.net Setup and Deployment project. 1. During the deployment after creation of application directory the setup needs to prompt user to select another location to send a data file elsewhere on target machine (with ability to create this directory). 2. After that this secondary location selected/created by the user,
13
9697
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
8233
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
8170
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,...
1
8334
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
8474
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7158
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
6108
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
5561
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
4173
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1784
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.