5 Replies - 12603 Views - Last Post: 13 July 2010 - 04:13 PM Rate Topic: -----

#1 maklaka  Icon User is offline

  • New D.I.C Head

Reputation: 4
  • View blog
  • Posts: 29
  • Joined: 15-June 10

Setup Project - Registry keys, install paths, sadness

Posted 13 July 2010 - 12:25 PM

I am creating a visual studio 2008 setup project. Would someone assist me in making a registry value to store the installation path that the user specifies during installation?

-MJ
Is This A Good Question/Topic? 0
  • +

Replies To: Setup Project - Registry keys, install paths, sadness

#2 JackOfAllTrades  Icon User is offline

  • Saucy!
  • member icon

Reputation: 6107
  • View blog
  • Posts: 23,661
  • Joined: 23-August 08

Re: Setup Project - Registry keys, install paths, sadness

Posted 13 July 2010 - 12:28 PM

There's a fine tutorial here in which this is covered.
Was This Post Helpful? 0
  • +
  • -

#3 maklaka  Icon User is offline

  • New D.I.C Head

Reputation: 4
  • View blog
  • Posts: 29
  • Joined: 15-June 10

Re: Setup Project - Registry keys, install paths, sadness

Posted 13 July 2010 - 12:41 PM

That tutorial does not cover my question.
Was This Post Helpful? 0
  • +
  • -

#4 JackOfAllTrades  Icon User is offline

  • Saucy!
  • member icon

Reputation: 6107
  • View blog
  • Posts: 23,661
  • Joined: 23-August 08

Re: Setup Project - Registry keys, install paths, sadness

Posted 13 July 2010 - 12:45 PM

The path the user chose for installation is in the TARGETDIR variable. Set a string value in the registry with the value "[TARGETDIR]" and you should be OK.
Was This Post Helpful? 2
  • +
  • -

#5 maklaka  Icon User is offline

  • New D.I.C Head

Reputation: 4
  • View blog
  • Posts: 29
  • Joined: 15-June 10

Re: Setup Project - Registry keys, install paths, sadness

Posted 13 July 2010 - 12:58 PM

Much thanks!
Was This Post Helpful? 0
  • +
  • -

#6 FlashM  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 382
  • View blog
  • Posts: 1,195
  • Joined: 03-December 09

Re: Setup Project - Registry keys, install paths, sadness

Posted 13 July 2010 - 04:13 PM

For more advanced installation/setup project take o look at Wix: http://wix.codeplex.com/
Was This Post Helpful? 1
  • +
  • -

Page 1 of 1