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?
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.
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).
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?
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.
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
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?
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?
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)
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?
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?
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?
what's the simplest way to ensure the installation of my app is installed in the startup folder/quick launch for all users , even if my app is not installed from the owner directory?
In .Net Setup Wizard , While Installing Application Wizard shows ' Folder where to Install' but I want to show only Drive Letter like C, D etc Not to give option of folder
I've published my application for installation via CD or DVD. I installed it on my machine and it worked fine. I have a couple of questions, I couldn't find the answer to in the GUI. First, when the application is installed, it immediately launches. Can I make something in the installation where a user can click a checkbox saying launch after install? If not, how can I disable the application from launching after the install. And secondly, the application is installed, a desktop shortcut is created, and the application is added to the programs on the start menu. How would I add an uninstall link in the program menu along with the icon to launch the application? Currently I have to go to the control panel add remove programs to remove the application.
I am creating a small VB.Net (Framework 3.5, Visual Studio 2008) application, requirement is small.
I want to make an EXE and that should run without installation.
I am Ok if all the dependencies, like dlls, are present in ApplicationStartupPath().
The Application should be standalone without installation. Bcoz, I don't want to create a big scene to install a huge .Net Framework in client PC for just a small application, as I said the requirement is small.[code]...
My application first checks if an SQL Server is installed before it runs. If there is no server it installs one. Now I want the application to pause or exit during the installation, since its thread may compromise the installation process, or is it not?. How do I do this? The Sleep() mmethod may not help because I can't know how long the installation process would take.
I tried to do a test install yesterday on a laptop running Windows Vista Ultimate and I was unable to get it to run without an internet connection because it needed to download additional software. My application may be installed on a client computer that does not have an internet connection and I need to be able to provide this extra software on disk.
I have created a setup project that after the installation, starts the app that is being installed. To do that I have added an Installer class to the app I want to get started and I am using it's commited event to start the app (Process.Start("...myapp.exe").
While this works fine on XP, on Windows Vista the application gets started as a "System" user which makes some parts of the app missbehave i.e. retreiving special folders of the user etc...
This is the question: way to start myapp as the logged in user? Mind you I will not have the credentials of the users.
I'm trying to publish the application and install it on another PC. However, when I install the app, it doesn't include the .wav files; I have to add them into the folder myself once the app is installed. They are included in the solution window under bin/debug before I hit publish. Using My.Computer.Audio.Play(Application.StartupPath & "" & "Treyson.wav") to play the sound.
I am trying to figure out the right steps to have an installer for my application. My application is dependent on a 3rd party software application and obviously needs to be part of the installtion process. I am able to utilize the features of the 3rd party software via ActiveX control or COM.
1. What options do I have for sucessfully installiing theses softwares?
2. I have noticed there is "Interop.3rdPartyApp.dll" in the "release" folder. How do I use this? Where can I get more details on this file?
IDE: VS 2005 ProLanguage: VBI am trying to figure out the right steps to have an installer for my application. My application is dependent on a 3rd party software application and obviously needs to be part of the installtion process.
I have started working on the module based application (plugin based architecture) and client want setup of module that can be run later and added automatically in main application. So, what I am thinking to apply in module setup project is to find the installation directory of main application and then paste dll of module in specific sub-directory.
Is it possible? Is there any other way to add feature in main application later using setup?
I've made a program but when others try and run the installer they're getting the error "unable to install or run the application.The application requires that assembly Microsoft.vbe.Interop Version 12.0.0.90 be installed in the Global Assembly Cache first.
I am using VB 2008 express. I created a setup file for installation using the publish command. When I install on another computer, it installs under the documents and settings directory. I want it to install under program files like most other programs.
I've search everywhere on the web for this. The closest thing i could find was talking about the DefaultFolder under the projects applications folder. I don't see that option. I can specify all the publication directories - but these are strictly for where VB creates the setup file at - not where the setup file installs it. Frankly it would be really nice to be able to allow the user to specify the directory as an option, with program files as the default. But for now I'd be happy to just be able to change the default install directory for my app.