Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I made a setup project and can't find anywhere how to change the install path of the application.

 

I want to be default c:/application .... not c:/program files/application.

 

Is better even the user not to see where the app will be installed, but the path to be c:/app

 

any ideeas?

 

thanks

  • Leaders
Posted
Is better even the user not to see where the app will be installed

Why on earth would you do such a thing? That doesn't sound very nice.

Iceplug, USN

One of my coworkers thinks that I believe that drawing bullets is the most efficient way of drawing bullets. Whatever!!! :-(

Posted

Because I have two application which interact them self�s

 

And if one application is not where is supposed to be, nothing will work.

 

I don�t mind if the user knows where the application will go �. But if it�s possible that app. destination to be not editable, will be great.

  • *Experts*
Posted

Instead of counting on a hard-coded path, have you considered having one application put something in the registry at a known location (HKEY_LOCAL_MACHINE...\MyApp\Location="c:\..."). The first time your app runs, or during install, set the registry value to the install path.

 

When the second program runs it can check the same registry location to see if the app is installed and where it got installed to.

 

That would be much preferred IF you wrote both apps. If one isn't yours and must be at a hard-coded location then that won't work.

 

-Nerseus

"I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
Posted

I believe on under File System, under your application folder, there is a property to change your default installation directory for the primary output.

 

(click on your primary output, and view its properties)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...