• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 300
  • Last Modified:

Get Source Directory in Setup and Deployment Project

I have a Setup and Deployment Project using Visual Studio .net . I'm trying to get the directory where the setup.exe is running from. ie. cdrom or network path, I need the path so I can run another app from the setup.

Thanks,
BArb
0
Barb4253
Asked:
Barb4253
  • 2
1 Solution
 
bramsquadCommented:
Dim path As String = Application.ExecutablePath()

~b
0
 
Barb4253Author Commented:
That would be nice, however there is no place for such code in a setup and deployment project.
0
 
Hans LangerCommented:
Property of Aplication Folder -> Property: DefaultLocation -> "[SourceDir]" (without quotes)
Good Luck
0
 
Hans LangerCommented:
The question was answered... the autor dont read it..
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now