473,386 Members | 1,610 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Setup application

Actually when i m creating setup of my application, i have defined default setup path by declaring productname and manufacturer property...but suppose the version of my application changes then new application should be installed at the previously default path...so default path should be which user has installed application....to overcome this problem i have set one environment variable of this path..and during next installation i m fetcing this path but i dont know how to set this path as default installation path...so pls help me out...
May 21 '07 #1
6 1829
Motoma
3,237 Expert 2GB
Actually when i m creating setup of my application, i have defined default setup path by declaring productname and manufacturer property...but suppose the version of my application changes then new application should be installed at the previously default path...so default path should be which user has installed application....to overcome this problem i have set one environment variable of this path..and during next installation i m fetcing this path but i dont know how to set this path as default installation path...so pls help me out...
Typically the Windows environment will let you access these variables by using the % character on either side of your variable name. You might be able to get away with setting your install path to be %myinstallpathvariable%.
May 21 '07 #2
Typically the Windows environment will let you access these variables by using the % character on either side of your variable name. You might be able to get away with setting your install path to be %myinstallpathvariable%.

But will u tell me how to set this path using vb.net....
May 22 '07 #3
Motoma
3,237 Expert 2GB
But will u tell me how to set this path using vb.net....
Can't you just set that as the default?
May 22 '07 #4
Can't you just set that as the default?
As in through property window in vb.net it is possible to set the default path, but for dynamic puropse i want to set it through code in vb.net...and first it takes windows path default after that we can set..i.e.
C:/program files/productname/manufacturer name.... but if i want to set as
D:/... as default then how i can do it???
May 23 '07 #5
Three articles that should help you do what you want to do:
http://www.simple-talk.com/2005/04/2...ith-setup-proj...
http://www.simple-talk.com/2005/06/0...-studio-setup/
http://www.simple-talk.com/2005/07/1...etup-projects/

Thanks for that link..but actually i have already tried that...but my problem is still at its place...
May 24 '07 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: pbj | last post by:
my application was created in vb.net, vs 2003. the setup project was also created in vs 2003. one of my application reviewers reported this: The .Net link that is included in the setup is not the...
1
by: santhosh_176 | last post by:
:I Created a Pocket PC application for iPAQ 5450. Every thing went fine even installer creation. I could run the setup and install it into the actual device and worked fine. The application enables...
0
by: Carlos Lozano | last post by:
Hello, I created a custom setup program to deploy an application to a PPC. Everything seems to be okay but when the PPC application manager is launched it says the setup file is invalid. I also...
3
by: | last post by:
I have created a web setup project for my ASP.NET application that works fine. Also, I have followed the instructions for using a custom action to launch a web page after the installation is...
2
by: A.Carter | last post by:
I am developing a windows application with Visual Studio 2003 using C#. The application is complete so naturally I went to create a setup package. I added a setup project to the solution and I went...
1
by: =?Utf-8?B?S2VpdGggRHVQb250?= | last post by:
I have created a setup project for a forms application that I will be deploying in the near future. I have added the primary output to the setup project and all dependencies have been correctly...
2
kaushalparik
by: kaushalparik | last post by:
hi all, i am working with Desktop application, and trying to create a setup project. i finalized my application and now creating the setup for that application. what i need to do is, with in...
3
by: sanghavi | last post by:
how to create a set up project in vb.net..how to run an application on a different machine
1
by: Claire | last post by:
Ive written a small string resource building utility that I send out to our translators. I have a setup project for each language we support, which picks out a group of 12 english resx files plus...
1
by: harry_noble1902 | last post by:
Hello I have a "solution" that has 7 VB.Net projects in it. Some of the VB.Net projects are dll librarys but 3 are applications (so there are 7-3=4 dlls) I want to install with a setup...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.