开发者

Retrieving the installation path from the installer

开发者 https://www.devze.com 2022-12-28 02:17 出处:网络
I havea Visual Studio 2008 setup which I created for a Visual C++ project. Is there any way that I can get the installation path that the user sp开发者_C百科ecifies at the installation folder prompt?

I have a Visual Studio 2008 setup which I created for a Visual C++ project. Is there any way that I can get the installation path that the user sp开发者_C百科ecifies at the installation folder prompt?

Thank You!


Managed to find the answer. There is a property called TARGETDIR in VS setup and deployment, can use that to retrieve the the installation path the user specifies. Just have to use it within square brackets.

Follow the link for more info: http://msdn.microsoft.com/en-us/library/aa372064(v=VS.85).aspx

0

精彩评论

暂无评论...
验证码 换一张
取 消