473,386 Members | 1,733 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,386 software developers and data experts.

Help Custom Action in Setup Problem

I have written an installer class that I invoke as a custom action. I have
asses 2 screens in the installation process that pass data to this Installer
Class. I have succesfully debugged the application and it reaceives all the
variables fine from the custom screens. The Cstom Action Data is
/SERVER=[DB_SERVER] /USER=[DB_USER] /PASSWORD=[DB_PASSWORD] /NAME=[DB_NAME]
/LOCATION=[LOCATION]

I tried to add the Installation directory to the data used by this installer
class
/SERVER=[DB_SERVER] /USER=[DB_USER] /PASSWORD=[DB_PASSWORD] /NAME=[DB_NAME]
/LOCATION=[LOCATION] /DIR=[TARGETDIR]

but now the process craps out before the install method is called in my
class. The error is as follows:

Exception occured while initializing file installation.
System.IO.FileNotFoundException: File or assembly name Eden or one of its
dependencies was not found.

I am totaly baffeld, any help would be appreciated
Jul 21 '05 #1
1 1579

"Jamie Bissett" <jb***@online.nospam> wrote in message
news:eH**************@tk2msftngp13.phx.gbl...
I have written an installer class that I invoke as a custom action. I have
asses 2 screens in the installation process that pass data to this
Installer Class. I have succesfully debugged the application and it
reaceives all the variables fine from the custom screens. The Cstom Action
Data is
/SERVER=[DB_SERVER] /USER=[DB_USER] /PASSWORD=[DB_PASSWORD]
/NAME=[DB_NAME] /LOCATION=[LOCATION]

I tried to add the Installation directory to the data used by this
installer class
/SERVER=[DB_SERVER] /USER=[DB_USER] /PASSWORD=[DB_PASSWORD]
/NAME=[DB_NAME] /LOCATION=[LOCATION] /DIR=[TARGETDIR]

but now the process craps out before the install method is called in my
class. The error is as follows:

Exception occured while initializing file installation.
System.IO.FileNotFoundException: File or assembly name Eden or one of its
dependencies was not found.

I am totaly baffeld, any help would be appreciated

After much digging I have found the answer to my own problem again.

When you are specifying a Windows Installer parameter that returns a
directory you must enclose the parm in quotes and include a trailing
backslash i.e.
/DIR="[TARGETDIR]\" not /DIr=[TARGERDIR]
The var can then be referenced in the Installer class through
Context.Parameters("DIR").

This works fine now
Jul 21 '05 #2

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

Similar topics

1
by: Bilo Aga | last post by:
The installation of MSDE fails and I dont find any solution to get it work. If I start the setup than a windows with the time bar appears and says it will take 1 minute. After nearly 1 minute it...
5
by: Craig Keightley | last post by:
Please help, i have attached my page which worksin IE but i cannnot get the drop down menu to fucntion in firefox. Any one have any ideas why? Many Thanks Craig ...
3
by: Vai2000 | last post by:
Hi All, I need to execute custom action during installation of my program (through MSI). Creating the MSI was pretty straight fwd. After that I went into the Custom Action Editor and added the...
6
by: | last post by:
Hi, I added dotnetfx.exe to a setup project as a custom action to be installed before the main app is installed. I set the Arguments property to /q:a /c:"install /l /q" for a silent install...
3
by: | last post by:
I have created a web setup project for my ASP.NET application that works fine. Also, I have followed the instructions for using a custom action to launch a web page after the installation is...
0
by: gunimpi | last post by:
http://www.vbforums.com/showthread.php?p=2745431#post2745431 ******************************************************** VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help wanted...
10
by: =?Utf-8?B?SmFjayBTbWl0aA==?= | last post by:
Hello, I have a solution that contains a C# application that is installed and runs as a service. The solution also contains several DLLs, some of which are C# assemblies and some are C++ DLLs. ...
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...
4
by: =?Utf-8?B?UHVjY2E=?= | last post by:
Hi, I'm using vs2005, .net 2 for a C# windows application. I'm preparing a installation package and I want to add the vcredist_86.exe to my installation. I add this exe file to my Application...
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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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,...

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.