Specify Installation Directory For Vb 2008 Express Application?
Apr 27, 2009
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.
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?
Alright, my program requires a folder to put the save files in, and it works fine to create it when I know where the program was installed to. I want to assume that everyone will install to C:/Program Files... however, one cannot assume. Is there a way for me to find out where the program was installed to ie. D:/WorkPrograms/ProgramHere, instead of the Program files? Specifically, is there some sort of code that I can run at startup to find where the program file is, so I can keep all the save files in there?
How i can make an installation file from a VB project developed in VB express edition 2008?So i can give it to someone and they can install it on their system.
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 have published a vb.net application and installed it on my PC. When I try to locate the installed application, I dont find the location where its been installed.
How to install a publish application on a specified location in C:Program FilesProject?
First let me statethat my VB skills are appalling. Havent touched it since VB3 Ok here is the scenario. we want to be able to give our first line support the ability to modify AD groups BUT WITHOUT giving the acess or powers in the AD console. I have written command line scripts to do this and it works fine. Un fortunately we have people that think that if it dont have a OK NEXT CANCEL button it aint Windows :(
I've been creating a small application and now I'm going to make a setup file for it. And I started doing this using Installshield. Here's a prtscreen of where I'm stuck: Since I've developed my Application in .Net, I don't know whether it can be installed on earlier versions of Windows such as Windows 98. Should I uncheck some options?
I've written an application [Visual Studio 2005 / VB) that works fine when I build it on my Win 7 PC.But when I try to install it XP as a test it falls over imediately on a 'file.exists' call made to establish if the data file exists or not (and if not then create it).
But it raises an exception because it can't find the directory that the file is supposed to be in. For the files location I was using Application.ExecutablePath but on the XP machine it is some weird directory like Code:
If I have Visual Studio C++ Express 2010 installed on my computer, and I decide to install Visual Studio Visual Basic Express 2010 as well, are these actually two independent products that are installed in different places on the machine, or do they share files and folders, or what? I want to install Visual Basic to help my father learn programming, but I already have C++ installed and I don't want to mess up that installation.
I am finishing a project for a client , however I am having an issue with the registry. How do I get installation directory path from the .net registry?
I am using Visual Studio 2005. I have just figured out how to create a Custom Action during installation, but I can not figure out how to get data from the installer. Following is the simple test code that I am trying to use to call the directory that the user defines during installation, but the Path string is not returning anything.
Public Overrides Sub Install(ByVal stateSaver As System.Collections.IDictionary)
MyBase.Install(stateSaver)
Dim Path As String = MyBase.Context.Parameters("targetdir")
Dim AppConfigFile As String = Path & "FilesAppConfig.txt"
MsgBox("The target filepath is: " & AppConfigFile)
End Sub
I have tried many other things, such as...
Me.Context.parameters("targetdir")
stateSaver.item("targetdir")
And I entered /INSTALLDIR="[TARGETDIR]" in the custom action data property.
We're trying to install this across a school for use by our students. How can I obtain a site licence as the 30 day trial has ran out and VB Express is asking to be reinstalled?
I am trying to install VB 2010 Express, but the installation stalls during ENU setup with the message that a certain product must be uninstalled. The product listed is: Microsoft Visual Studio 2010 Professional Beta 2 - ENU. I did try the 2010 Professional but gave up on it. I deleted as many files in those folders as I could. I found the file listed above in the Programs & Features list. When I try to delete it by right click, it opens up a Maintenance Mode Setup wizard. If I follow this it requires me to subscribe to the Professional system, which I don't want to do. I also have run MS Visual Studio 2010 Uninstall Utility, but the new installation stalls at the same place with the same message.
I am trying to publish a project. Via the publish wizard I have published the project. So I have:Project.applicationSetup.exeand a directory application files in which:Project.applicationProject.exe.deployProject.exe.manifest. When I start the setup it does it's thing (only one question: do you want to install ...etc) and 2 seconds later its done.
Problem: 1. I can't find the installation directory... (I can find the app in the 'add/remove programs' but not anywhere in program files or ..)
2. there are a few xml and mdb files I want to include in de project (or else the project does not work).
But because of (1) I don't know where to do so. Or beter yet, I would like to include these files in the installer.3. Why doesn't the installer ask me where I want to install?
I have developed a WinForm app using vb.net. The app needs to send an email notification to users containg the id of an item that needs thier attention. The email needs to contain the link and commandline parameters so that the user can clik on the link and the app will open the correct form, with the item to be updated, already loaded. Click Once installs the app under the users directory ("Documents nd setting\%USERNAME%Start MenuPrograms\%AppName%..."), so, the email has to contain the user name as part of the path.
- How can click once be configured so that the instalation is in the program files directory to avoid having to add the username as path of the path? - how do send a link which contains a parameter that directs the app to load a speciified form (not the startup form)?
I have vb.net project (visual studio 2005) and ms-sqlexpress as database. i want to make file set up that contain vb.net exe file and other necessary files and installation of ms-sqlexpress.
I'm currently working on a project that populates a database with CAD document info from approx 20 engineers / draftsmen in an engineering office.I have the program functionality working on my computer. However, I would like to install this on the network and begin doing some addiitonal testing and debugging.
I'm unsure about the proper way to install the database and sql server express on the network. My program, which sends the info to the database, will be installed locally on each persons computer. Of course, the database file will be in a location on the network that everyone has access to.I'm assuming I should install the SQL Server Express on the network server as well. How do I setup the server for the SQL express?For example, when I installed it on my computer, the default server name was "Brian-HPSQLSERVER".How do I specify a new server name when installing the software?
I've developed a VB.NET console application and tried to use the Build | Publish menu option in Visual Studio 2008 to create a Setup. It works fine except two things: - when I run the Setup on a Windows 2003 Server, it installs the application in the C:Winntprofiles\Local SettingsApps2.0 directory. How can I configure the setup so that it would prompt for a target directory for the application? - After the Setup is complete, it starts the application automatically. How can I suppress the auto-start?
My app has a folder that has some xml documents which is or should be created within the installation Directory. What is the best / most problem free method to access the installation directory: [code]
Anyways, i have coded a video downloaded and i want to include a converter as a separate exe file. But obviously people may have different file directories so a simple piece of code i have used won't work. This is what i have: Also where would i place the exe file?
I downloaded an itextsharp DLL that I would like to use in my vb.net 2008 express application.In which folder should it be placed?I went into choose items in the toolbox and tried to add it but I got an error
I have an application in Visual Basic 2008 express that I want to deploy. It has MS Access DB tables and some queries. How can I put this together in the deployment?
I've developed a small application using VB 2008 express and I am trying to deploy it for the first time.I have done this using the options with VB 2008 express and installed onto another PC. I find it has installed using what is termed a user instance which I understand comes with some limitations.I want the option for the application and data base to be multi user in the future. I want to be able to connect to it from Business intelligence for reporting purposes (there is no report viewer control in VB2008 express) and ideally I would like to be able to back it up using SSMS.Does anyone know what the options for deployement are and how to deploy using a "traditional" instance rather than a "user" instance?
I am complete newbie to VB express. I have created a simple windows form that opens programs using menus and so on.Works great using the Process.Start on windows apps (word, excel, etc.) but I have some very old programs that run in DOS I am also trying to open that do not work when using the Process.Start method.
I am able to get the command prompt box to open up and in the title bar it shows the path of the .exe program I want to open but the actual program is not opening.
in vb 2008 express this option is available under application properties. does anyone know what it does? there is also a windows authentication option. what is the difference between these two?