Find Installation Directory Of Other Application Installed?

Mar 16, 2011

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?

View 10 Replies


ADVERTISEMENT

Can't Find The Installation Directory?

Mar 21, 2012

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:

[Code]...

View 6 Replies

Publishing A Project - Can't Find The Installation Directory

Mar 18, 2009

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?

View 5 Replies

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.

View 5 Replies

VB Program Doesn't Have Access To Its Own Application Directory When Installed?

Nov 7, 2011

I have a VB project that I created a simple setup project to deploy. It installs fine except for one problem. It crashes because it can't read its own application directory. Included with the program are an xml and schema file that it needs to read when starting.dditionally it may create a log file, also in its application directory. Either of these will return errors under the default install. This was not an issue when running the program in VS and if modify the program to work with another directly like C:Temp. I have a workaround in which I change the permissions of Users group to Full Control for the application directory

View 7 Replies

Find Path For Installed Application?

Apr 23, 2010

How I can find path for installed application from VB.net if i know the name of application exe file?

View 6 Replies

C# After Finding Installed Software Names And Application Path How To Find Exe Name

Feb 26, 2012

This code gets all software that has an Uninstall Entry and it app path. However, given I have the app path, I do not know the name of the main .exe of the software. What ways are there to find the main .exe of a found application?

'Declare the string to hold the list:
Dim Software As String = Nothing
'The registry key:

[code].....

View 1 Replies

Cannot Find Application Data Directory

Dec 7, 2009

I have a vb.net program that initially finds the directory where application data can be stored with the following command.[code]....

View 4 Replies

Deployment :: Combine WAMP And Application Installation Into One Packet Installation?

May 24, 2009

I just made an application using MySQL for the database. I use WAMP.Can I combine WAMP and my application installation into one packet installation ?

View 2 Replies

Ensure The Installation Of An App Is Installed In The Startup Folder/quick Launch For All Users?

Jun 2, 2009

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?

View 7 Replies

Get Installation Directory Path From The .net Registry?

Jun 8, 2010

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?

View 10 Replies

How To Get The Installation Directory In A Custom Action

Dec 9, 2010

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.

View 1 Replies

VS 2008 Finding The Directory Of Installation

Jul 8, 2009

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?

View 3 Replies

Select The Installation Directory Using Click Once Deployment?

Jul 20, 2009

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)?

View 4 Replies

Allow Installation In Custom Target Directory And Suppress Autostart

Mar 1, 2010

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?

View 1 Replies

VS 2010 Free Method To Access Installation Directory

Jan 20, 2011

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]

View 6 Replies

App Can't Find DB After Installation

Mar 11, 2012

my app cant see my access db after installation.i traced the location of the db on the computer after installation

C:\Users\Timosoft\AppData\Local\Apps\2.0\QY65PWX9.W3T\QECRQCWW.P3T\wwtb...exe_e6ecfcd40db94ae4_0001.0000_none_93fcea95705260c6\bin\Debug

didnt get it.am using below code in the program to locate the db.

'declare provider and location
strPath = Path.GetDirectoryName(Application.ExecutablePath) & "\bin\Debug"
dbProvider = "PROVIDER=Microsoft.ACE.OLEDB.12.0;"
dbSource = "Data Source=" & strPath & "\wwtbamDB.mdb;Persist Security Info=False;Jet OLEDB:Database Password=kkkkkkkvvf??"

View 1 Replies

The Application Is Used To Find A Given File Name In A Given File Directory And Put Messages To Remind User At A Given Time?

May 13, 2011

the application is used to find a given file name in a given file directory and put messages to remind user at a given time.

View 2 Replies

Find Microsoft.net Framework Installation Path?

Jul 18, 2009

can anyone has idea how to get Microsoft.net framework installation path using window application in c#/vb.net.

View 2 Replies

Can't Find The Microsoft.SQLServer.ManagedDTS.dll In Vs2010 Installation?

Dec 7, 2010

I am using vb.net in vs2010.I can't find the Microsoft.SQLServer.ManagedDTS.dll. How do I add that dll to the reference?

Imports
Microsoft.SqlServer.Dts.Runtime

View 3 Replies

Deployment :: Where To Find Installed Programs

Nov 23, 2009

I have build an application in Visual Studio en publisched it so dat people can install the program. Now I would like to access the installation on the client computer from an other application so that the user can start the application from a menu item within an other application. But in what folder is the application installed of how can I refer to the exe?

View 4 Replies

Installed Mysql Connecter But Cant Find?

Feb 4, 2009

i installed Mysql Connecter Net 5.2.5... but i cant't find it in Data base Explorer

View 15 Replies

Unable To Find New Installed Fonts?

Oct 6, 2011

I just installed Lucida Grande font on my computer and I am unable to find this font when I add a label or text box control. I can see the font in the control panel and MS Word. What is the right step to see this font?

View 1 Replies

VS 2008 Where To Find The Installed Program

Nov 16, 2009

When using VB6 I could use (Windows Explorer, Programs), and find my installed program. I need to get to the database as I have entered a lot of data into it via my not quite finished program.

View 2 Replies

Deployment :: Give Admin Or Write Access To App When Its Installed To Default Program Files Directory

Feb 5, 2010

I am deploying my application on a 64 bit windows 7 system (setting the platform property to x86) , after the installation process the app needs to set its connection string in the config file; and this is where I am having issues, the app is not able to write to the config file if/when its located under the program files directory (no admin privileges??), the app works fine when installed on a public folder.Please let me know how to give admin or write access to my app when its installed to the default program files directory

View 2 Replies

Check Whether A Program Is Installed And Find The Path?

Jul 26, 2009

I want to make a program which first of all check whether a serie of programs is installed, if a program is installed I would like to find the installation path, so I will be able to work with it further..My first though was to check in the registry, there is theinstallation path also mentioned right?Another possible way was to search all the harddrives for a specific .exe fil. If then the file is found, the program is installed, and you should be able to find the path to the found .exe file. This is more "secure", right? - Because not all program is registred in the registry right? (E.g. if you move it from another location, and doesn't install it).

View 7 Replies

Shareware .net Application Packed Using Innosetup, Installed In Different Directories Creates 2 Different Set Of Application

Jul 16, 2010

I have created an shareware application using vb.net visual studio 2008 for windows desktop, and packaged it using innosetup 5.3.8. The problem is when i have installed the application in C:Program FilesApplication and it runs successfully(use trial period of the application), Im also able to install the application once again freshly with the same setup by installing in different directory.eg C:Program FilesApplication new . The application in C:Program FilesApplication new does not have any settings of the already installed one.

Where do i went wrong . Do i need to take care of this in my application(vb.net) or innosetup. How to take care of the already installed path in innosetup or carry the settings of already installed application to newly installed path by upgrading the older one.

I dont want to write any thing in registry because the application does not want any administrative permission requirements.If i install the application in same path it gets updated with the older settings being taken over to this new one and it works fine.

View 1 Replies

Unable To Install Or Run This Application. This Application Requires Microsoft Common Language Runtime 4.0.3 To Be Installed On Computer?

Jun 8, 2011

I have designed and published my small created app with WINDOWS FORMS using VB 2010 EXP on Windows 7. I can only install the app on the machine that I used to develop the app.I want to install the app on another computer but I cannot. I usually have error reports.

Example:Unable to install or run this application. This application requires Microsoft Common Language Runtime 4.0.3 to be installed on your computer.

what can I do to be able to install the app on a different computer which does not have .Net and does not have visual basic 2010 installed.

View 13 Replies

VS 2008 VB 2008 Express Edition Softare - Specific Installation Directory For A Program?

Aug 9, 2009

Where in Visual Basic 2008 Express Edition Software program do you specify a specific installation directory for a program?

c:Program Filesfinished program

I want to publish my program to try it out on another system and I want to ensure its installed in the directory structure I want.

View 3 Replies

Publishing My Application - Where Exactly Does The Application Gets Installed On My System

Jan 9, 2012

I have recently created an application with Visual Basic.NET. I published my application and installed it. Now the question is that I need to know where exactly does the application gets installed on my system ?

View 6 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved