Advertisement

05.21.2008 at 06:35AM PDT, ID: 23420729
[x]
Attachment Details

How to get nstalled application Path in AfterInstall Event of installer class ?

Asked by Anadocs in C# Programming Language, Assembly Programming Language, MSI

Tags: C#.Net

Hi Experts,
   I have to register some assemblies in GAC utility after installing my application.I wrote it in afterInstall event of Installer Class as follows :
    p.GacInstall(@"C:\Documents and Settings\mathiks.ISS140\Desktop\MyApp\.IEPlugin.dll");
It works wells.Here I hardcoded path; but, it should be from installation patht. how to get Installation path in afterinstall event ?
Cheers,
Mathi.
P.S.:While I am getting Application.StartupPath in installer class , It gives C:\Windows(MSI path)Start Free Trial
 
Keywords: How to get nstalled application Path in …
 
Loading Advertisement...
 
[+][-]05.21.2008 at 06:47AM PDT, ID: 21614962

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.21.2008 at 05:29PM PDT, ID: 21620079

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: C# Programming Language, Assembly Programming Language, MSI
Tags: C#.Net
Sign Up Now!
Solution Provided By: Dabas
Participating Experts: 2
Solution Grade: A
 
 
[+][-]05.21.2008 at 08:05PM PDT, ID: 21620588

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628