Click here to Skip to main content
16,004,944 members
Home / Discussions / C#
   

C#

 
GeneralStrange Errors, Behavior Pin
tdciDoug25-Jan-05 4:41
tdciDoug25-Jan-05 4:41 
GeneralUrgent!!PLEASE Pin
innocent7325-Jan-05 4:41
innocent7325-Jan-05 4:41 
GeneralRe: Urgent!!PLEASE Pin
Jon Sagara25-Jan-05 6:26
Jon Sagara25-Jan-05 6:26 
GeneralRe: Urgent!!PLEASE Pin
Alex Korchemniy25-Jan-05 6:41
Alex Korchemniy25-Jan-05 6:41 
GeneralRe: Urgent!!PLEASE Pin
innocent7325-Jan-05 19:02
innocent7325-Jan-05 19:02 
GeneralRe: Urgent!!PLEASE Pin
ye win zaw25-Jan-05 17:05
ye win zaw25-Jan-05 17:05 
GeneralFinding the user's choice of install location Pin
mikey_g25-Jan-05 3:55
mikey_g25-Jan-05 3:55 
GeneralRe: Finding the user's choice of install location Pin
mav.northwind25-Jan-05 5:20
mav.northwind25-Jan-05 5:20 
Hi!
You could create a custom action to save the installation path.
When calling the custom action you can give the installation path as argument, using the [INSTALLDIR] installer variable in the call arguments.
In this case you have to be careful to get the parameter escapes right (IIRC you'll have to put a single '\' after [INSTALLDIR] if it's the last parameter).

Or you use reflection in your custom action dll to find out where it's run from and then extract the path to the assembly from that.

Surely there are several other ways to perform this task, too. Other suggestions anyone?

mav
GeneralRe: Finding the user's choice of install location Pin
RNEELY25-Jan-05 6:21
RNEELY25-Jan-05 6:21 
GeneralRe: Finding the user's choice of install location Pin
mikey_g25-Jan-05 6:37
mikey_g25-Jan-05 6:37 
GeneralDefining excepion Pin
Paolo Ponzano25-Jan-05 3:41
Paolo Ponzano25-Jan-05 3:41 
GeneralRe: Defining excepion Pin
Dennis C. Dietrich25-Jan-05 4:03
Dennis C. Dietrich25-Jan-05 4:03 
GeneralProgrammatic Break Points Pin
MrEyes25-Jan-05 1:10
MrEyes25-Jan-05 1:10 
GeneralRe: Programmatic Break Points Pin
leppie25-Jan-05 2:40
leppie25-Jan-05 2:40 
GeneralBattery power Ramaining Pin
Amir Jalaly24-Jan-05 23:50
Amir Jalaly24-Jan-05 23:50 
GeneralRe: Battery power Ramaining Pin
Dennis C. Dietrich25-Jan-05 1:27
Dennis C. Dietrich25-Jan-05 1:27 
GeneralRe: No postback for runtime created control Pin
Nick Parker25-Jan-05 3:15
protectorNick Parker25-Jan-05 3:15 
GeneralRegular expression Pin
Jan R Hansen24-Jan-05 23:12
Jan R Hansen24-Jan-05 23:12 
GeneralRe: Regular expression Pin
S. Senthil Kumar25-Jan-05 7:27
S. Senthil Kumar25-Jan-05 7:27 
GeneralRe: Regular expression Pin
peter271325-Jan-05 13:08
peter271325-Jan-05 13:08 
GeneralCustom MenuItem problem Pin
spif200124-Jan-05 20:43
spif200124-Jan-05 20:43 
GeneralSample Licensing Application Pin
vchalla24-Jan-05 18:07
vchalla24-Jan-05 18:07 
GeneralRe: Sample Licensing Application Pin
Dave Kreskowiak25-Jan-05 5:52
mveDave Kreskowiak25-Jan-05 5:52 
GeneralClickOnce security issue Pin
Judah Gabriel Himango24-Jan-05 12:03
sponsorJudah Gabriel Himango24-Jan-05 12:03 
GeneralO/S Visual Studio Compiler Question... Pin
new_phoenix24-Jan-05 11:42
new_phoenix24-Jan-05 11:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.