473,327 Members | 1,997 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

deployment with custom action

I need to deploy a couple of sets of third party drivers with my application
and the customer would like the whole thing to run automatically when they
put in the installation CD. These drivers come with their own setup files.
My plan was to put these in seperate directories on the distribution CD and
use custom actions to run them after my main installation e.g.

path1\setup1.exe parm1 parm2
path2\setup2.exe parm3 parm4

The setups can be run directly from the cd BUT I can't figure out how to set
the path component so it references the root directory of the installation CD.
Can someone please help me with this.
Is there another simpler approach?
Jun 16 '06 #1
1 1252
Try passing [OriginalDatabase] (case-sensitive) in the CustomActionData to
your custom action. On the original install it's the path to your MSI file,
so you can parse it to get that installation directory.
--
Phil Wilson
[Microsoft MVP-Windows Installer]
http://apress.com/book/bookDisplay.html?bID=280

"rossu" <ro***@discussions.microsoft.com> wrote in message
news:9C**********************************@microsof t.com...
I need to deploy a couple of sets of third party drivers with my
application
and the customer would like the whole thing to run automatically when they
put in the installation CD. These drivers come with their own setup
files.
My plan was to put these in seperate directories on the distribution CD
and
use custom actions to run them after my main installation e.g.

path1\setup1.exe parm1 parm2
path2\setup2.exe parm3 parm4

The setups can be run directly from the cd BUT I can't figure out how to
set
the path component so it references the root directory of the installation
CD.
Can someone please help me with this.
Is there another simpler approach?

Jun 17 '06 #2

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

Similar topics

0
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...
5
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...
6
by: Paul | last post by:
Hello everyone: I am developing a VB.Net Windows Application and I am now ready to create the deployment project for it. This application needs to be installable on a different number of users...
3
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...
0
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...
7
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...
13
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...
3
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...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.