Create Standalone Distributable Exe, And Choose Installation Folder
Jan 13, 2010
I created a Visual Studio 2005 application that works and installs on other user's computers, but not the way I want.
1. I want to create a single file that I can distribute to any user so when he clicks it, the application will be INSTALLED.
2. When it installs, it chooses to do in its own location. It does not give the user an option to save or install in a specific folder (where the application will be used because other files are there). How do i allow the user to save the the application in a specific folder?
3. I would like a single file that the user clicks to RUN the application. Is that the in*.exe?
View 1 Replies
ADVERTISEMENT
Feb 16, 2012
I posted this on the Deployment forum, but you guys reply so much faster
Quote:
How can I create a folder on my Application Installation Path upon installing my application?
View 5 Replies
Aug 19, 2010
I am going to show you how to create a browsefolderdialog. All this does it popup to the user and let them choose a folder.
For this you need:
1 Button
1 Textbox
Double click your button and add in the
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Dim BrowseFolder As New FolderBrowserDialog
[CODE]........
This sets your textbox1.text to what ever folder is selected. After that you can do whatever you want with your selected folder. This is how it will work when you are done: [URL]
View 3 Replies
Jun 24, 2010
I can add a folder in the setup/deployment project and it gets added when my project is installed. when I do it by writing code, I get a message "access is denied", but the programme will continue to work. I eventually worked out that I had to right click the exe file (in programfiles) and run as administrator so that the directory is created (as the form loads).
View 3 Replies
Oct 28, 2009
I have a question regarding publishing vis ClickOnce. For the publish options, there is a Publishing Folder Location and there is a Installation Folder URL. clarify the difference between Publish and Install, and when it would be apropriate for the two to be different?
View 3 Replies
Sep 2, 2010
It is my understanding that Visual Basic 6 allowed you to create a standalone .exe file (compile all files into one .exe) with its package and deployment wizard. Does VB 2010 have an equivalent to this? If so, how do I get to it?
View 5 Replies
Feb 16, 2009
I was wondering that when you go and publish your application that you can do it in such away that all the necessery files are there so all you have to do is click on one file and it loads without it installing on the hardrive.
View 3 Replies
Jul 29, 2009
i have create a application. i want to create a .exe file on the desktop without having to go into the project folder then bin folder to open the .exe file. How do i create that kind of standalone .exe file?
i try copy and paste the .exe file on the desktop but there is always having this error <project name> has encountered a problem and needs to close. We are sorry for the convenience.
View 8 Replies
Jan 20, 2009
I am using visual studio 2008 professional. I would like to create a standalone exe. Meaning that the program will run off one file and doesn't need to be installed.
View 14 Replies
Nov 11, 2009
Well I have a program, and I want to the program works alone at determinate time. I know that I have to create a "standalone executable" proyect or something like that. I really don't know how do this kind of things.
View 2 Replies
Dec 16, 2010
I'm planning to create a standalone problem that triggered by scheduler.When the program is triggered, I would like the program to stay on top all the time, even though user clicks on other programs.
View 4 Replies
Mar 26, 2010
Currently i only managed to implement the google map(static) into my application,but i want to replace it with a dynamic map. Is there any website or example for me to refer? I tried reading up google API website, but i still dont get it.
View 2 Replies
Jan 19, 2010
I had developed a small windows software. Now I want create a setup file so that a client can install it on off-line. I used the publishing wizard, it successfully creates the setup file but if I try to install it on other computer which doesn't have the .net Framework, it tries to get it from the net. To avoid this I want to include .net framework into the setup file. How can I do this ?
View 7 Replies
May 13, 2010
I have created a windows form application, but when i publish it (to cd setting), and then try and install it, (on windows 7, only tried there so far), I get a cannot open or read mainfest file, or cannot connect to download from the original pc's IP address error messages.
I have spent considerable time relearning visual basic (used microsoft basic man many years ago), and now want to use the program on my other computers I can upload/paste the error file if needed
View 1 Replies
Jun 12, 2011
Now i wan to create a standalone program to send datagrid data via email . izit any way to send the datagrid to email body ? below is my code.
Public Class Form1
Dim oLapp As Object
Dim oItem As Object
[Code]....
View 1 Replies
Nov 24, 2011
I'm making a program that starts opens different folders on the user's PC. However, I want to be able to have a program in that folder selected. So, whenever the user opens up the folder after clicking a button on my form, I want one file in that folder to be pre-selected.
View 9 Replies
Aug 17, 2011
I'm trying to public a VB program and I want to install the program from the same directory I am publishing it to which is a file path of the form P:DirDir. This doesn't seem to be working... In the publishing folder text box I have a file path but it won't allow me to put that same file path in the installation folder text box... and it has brackets (if different than above) over the installation folder text box so that should mean it is not a required text box.. but when I go to publish now it asks for me to put a path in there.
View 6 Replies
Sep 30, 2009
In VS 2010, under "Installation folder URL" (under Publish) I have inserted this "\localhostProgram FilesRajoni" - my project name is "Rajoni". Isn't this the path where I want my app to be installed on user computer? Because in my Program Files I don't have anything
View 2 Replies
Nov 8, 2011
Basically I need to make a program that lets a user browse and choose a folder, then I need a box that the user can then select the files to work with, then with the selected files I need to put them into a zip file. I'm trying to use a list view box but having all kinds of problems using the data in it.
View 2 Replies
Aug 15, 2009
I have vb.net 2008 express eddition. While publishing projects and installing on other computers I do not get the browsing path for the installation. i.e. the setup.exe install it in a default location without the option for the user to determine the installation path (destination folder).How can I enable to determine the destination folder of the installation?
View 9 Replies
Nov 30, 2009
I'm writing a windows form application in VS2008 using VB. I have a text script file needs to be deployed together with my application. How do I reference this file when coding and how to deploy it using windows installer? A similar question, how do I reference the installation folder of my application?
View 8 Replies
Nov 22, 2009
I'm working on a project that will be finished pretty soon. But I've got a problem: I have songs in the program, and in the installation program I want to add a sub folder that installs on the computer in the same place at the game. In the sub folder pictures and music should be. But how do I do this and how do I change the file path so it can independent be installed on a new computer?
View 13 Replies
Jan 28, 2010
I want to have a dialog box like SaveFileDialog that will enable the user to choose a folder name and the save it. How I can achieve this?
View 5 Replies
Aug 31, 2010
i have a project and wish to use a setup file that installs all required software .net etc . I can manage this using the publish function .But i also need to add a couple of csv files to the installation.
change the installation folder to program files instead of application files . I think i need to use the setup and deployment and add a new project using "visual studio installer" .This as far as i have got i can not seem to create a setup (the one i built just hangs)
View 1 Replies
Jun 6, 2012
I am trying to create an application where you can browse to a folder, press install button and it will copy some files to the directory of your choosing? I found some example code but how do i go on with my code from here? Cant figure out how to copy the files. You can see at last in the code i tried to copy files but its not really working, how do i use the function? I want the files to come from the application directory. And copy to the browsed folder.
Public Class Installer
Private Sub Installer_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
End Sub
[Code]....
View 1 Replies
Apr 19, 2010
I'm not sure how to use it, And for some reason I couldn't find it on MSDN, Unless I looked it up wrong, But I am making an MP3 Player, And I'd like to choose a folder that carries multiple MP3 files, And by clicking on it, It will bring the MP3 files into the windows media player component I am using and add the file names into a listbox.
View 3 Replies
Nov 26, 2010
The 'DefaultLocation' for my application is set to '[ProgramFilesFolder]MyApp'. Now I would like the user to select what drive to install this application to. I know this is accomplished through the 'Installation Folder Selection' dialog, but I want the user to be able to select a drive only, not the entire path.
My question is how do I capture what drive the user selected from the 'Installation Folder Selection' dialog and use that drive letter to tack on to my 'DefaultLocation' variable?
[Code]...
View 2 Replies
Nov 16, 2011
I have tested a few applications downloaded from net. They are surely database applications but when I checked in the folder where the application is installed, there is no database (no mdb, sdf etc.) When I install my application, my databases are always in the folder.
What is the trick to make them invisible but they should still work.
View 1 Replies
Sep 25, 2009
When my program is installed, I need to place a folder in the directory path of "C:\" in order my program to work. How do I include the folder in my project, and then durning the install Place the folder where it needs to be? Could someone be so kind as to point me in right direction to read up on something like this?
View 3 Replies
May 7, 2010
i created a form with a combobox that lists out Assignments ( assignment 1, assignment 2, etc...)......what i need to do is let the user choose an assignment, then the program should look for the matching text file in a folder, ex: user picks assignment 1, and the program will read from assignment1.txt and display the result in a listbox. I have everything except the coding to match what the user chooses and the text file to streamread.
View 10 Replies