user383240
user383240

Reputation: 98

setting Installation path during installation

I am using visual studio 2010 to create an installer for my application. I want my application to be installed in C:\ApplicationName (if it already exists), if this folder does not exits then it should be installed in c:\Manufacturer\ApplicationName . I was not sure if i could achieve this by using a costume action as by the time the costume action was called the installation path has been already set.

Upvotes: 1

Views: 140

Answers (1)

Ciprian
Ciprian

Reputation: 3565

This post describes how to achive what you want. The only differece is that instead of a RegLocator you can use a DrLocator to check if the folder exists.

Upvotes: 1

Related Questions