get the installation directory
I'll be installing a program (program A) then executes an exe or separate lot (program B) at the end of the installation file to move the files if necessary. My question is, how do I get the path to the program after installation? Preparing a key to the registry the best option? The problem I see with it is that I know not how can I get the path program has to write the registry key, unless I put my application to run after install and write the value of the key in my application. But then I can't say to run after installation, program B. It seems to be somewhat of a catch 22.
All the world needed to do something like this in the past, and how to solve? I could just copy files via the application an itself at startup, but let's say that I am motivated to do it from the Installer package file.
... Then put the exe file that you want to run after the installation on the computer anyway. It is installed in the same place as the program that I run. So I can use get the application directory to find the files since both executables are in the same place.
Tags: NI Software
Similar Questions
-
I use an .ini file to allow users to change the preferneces for starting the program. In the past, this file has lived in the installation directory and OpenFile could find the file cheerfully and apply preferences. In CVI 2013, the program seems to need an implicit path to the file. Is there a way to get around this?
I use not yet CVI2013, but in any case, you can build up to a full path of a file in the folder of the application using the GetProjectDir and MakePathname commands when running.
-
Original title: load error when you try to load Halo 2
People at Microsoft, I have a problem trying to load Halo 2 on my dv7 Paviliaon with Vista and the 2.8 GB Intel Centrino 2 processor. When I try and load the game, I get and error stating: "the files are missing or damaged in the installation directory. A few important files required to run this game are missing from the installation directory. "It bothered me for several reasons. One: the disc that I use is an original disc out of the box so hsould have no problem. Two: the game has been loaded previously on the same computer without apparent problem at the time. It has been deleted (don't remember why) and when I tried to reinstall, the error came. Three: I did as recommended and updated all programs and drivers, nothing works. So my question is, how do I reinstall Halo 2 and what this problem will arise if I decide to buy and load Halo 3?
Thank you for your time in advance.
Hello
As you are facing problems with Halo 2, I suggest you to refer the link for better support:
-
Original title: I recently started getting this message; "Invalid or missing resource in the installation directory files. Please reinstall Extender player. "What that means and how to fix it?
No message at this time.
Hey Terrie,
Put the computer in a clean boot State to determine what software or program is the cause of this problem.
http://support.Microsoft.com/kb/331796?WA=wsignin1.0
Note: When finished troubleshooting, turn the computer back to normal mode by following the steps in "how to regain a normal Windows startup mode.
In the start-up of the system configuration utility box tab, see if you have "GPlayer" or "EXTender". If Yes, then uncheck the boxes and if you do not use these programs, so go ahead and uninstall them.
http://Windows.Microsoft.com/en-in/Windows7/uninstall-or-change-a-program
Let us know the results once you have finished troubleshooting.
-
How to make Firefox 3.6 store settings in the installation directory?
This means not in
"C:\Documents and Settings\...\Application Application Data Mozilla"
but where
"firefox.exe".
We'll findI found myself how to do this. Could be useful for someone else.
Profile _profile folder should be placed in the installation directory.
Launch Firefox with parametersno-remote - profile _profile
-no distance is to allow multiple instances of Firefox, launched at the same time.
How to create the new profile next to installation directory there is https://developer.mozilla.org/en/Command_Line_Options#-CreateProfile_profile_name
-
Labview that is running on a computer without write access to the installation directory?
Hello
A client of ours wondered if we can run our Labview executable and runtime on their computer without having no write access to the installation directory?
It is quite easy to change so that our program writes its log files to another drive on the network, but what the runtime engine and updates Live trying to download programs OR?
Grateful for any comments.
As far as I know the terms of access rights for the updates are the same for the basic facilities.
However, given that your program is running on a factory floor, I recommend disabling updates. I don't think you want to come down because a computer does not have an assembly line update.
-
MG6320 on Mac - can't get the installer to work
I can't get the installer to work, fails to connect to the printer without wireless or wired. However, the Apple system preferences printer box can find the printer, allowed me to install the Apple driver, and I can print. I can also scan but only by using the Apple software. What should I do to get the additional applications provided with the printer to work, and why the all-in-one installer driver does not work?
I am running Mac OS X 10.7.5, no firewall problems.
Thank you!
Hello.
Please try to download the latest drivers for Mac OSX and software on our Web site. These items can be downloaded from the following link:
If additional information is required, please call us at 1-800-OKCANON.
-
reproductive Extender invalid files in the installation directory - how to correct?
My computer Guard stops. When it restarts, it displays a message 'invalid or missing files in the installation directory. Please reinstall Extender Player". How can I fix it?
Hello1. have you done any change in software on the computer lately?
2. are you able to boot in safe mode?
3. do you have the Extender player installed on your computer?If so have you tried to re - install?
Method 1.
If you are able to boot to the desktop then disable automatic reboot.My computer properties > Advanced tab > startup and recovery settings > uncheck automatically restart.Method 2.
Check to see if the problem exists in Safe Mode, if the computer works as expected in mode without failure, then we can solve the problem in the clean boot state.Note: Configure the computer to start in the State of clean boot to Safe Mode and check.
a. refer to the article below for the procedure safe mode in Windows XP
A description of the options to start in Windows XP Mode
http://support.Microsoft.com/kb/315222b. you need to perform a clean boot to find the program that is causing and then disable or remove.
How to configure Windows XP to start in a "clean boot" State
http://support.Microsoft.com/kb/310353/en-us
Note: When you are finished troubleshooting, follow the steps as explained in the article to reset the computer to start as usual.
I hope this helps. -
How to get the installer of windows 7
my windows 7 Home Basic crashed.
When I bought my laptop (Lenovo G570) I have however not a cd from my ISP got a licensed copy of windows 7 Home Basic.Now, in order to reinstall windows how can I get the installer of windows 7 homebasic edition?http://www-307.IBM.com/PC/support/site.WSS/document.do?lndocid=MIGR-4HWSE3
Computers laptops Lenovo include a function called the Lenovo OneKey Recovery button, which is used to boot into the recovery environment and to reinstall Windows.
If this does not work, contact technical support
replacement of http://www-307.IBM.com/PC/support/site.WSS/homeLenovo.do and demand
-
Really sucks - VMWare killed unity Player 12 mode. If I had known that I have would have stuck to 7 Player - it worked very well.
Anyone know if it is possible to get the installer for 7?
Thank you
Yes, we have abandoned the support unit for Linux customers only. It is sad to see the function will, but our information indicates that Linux unit has been rarely used, and it was extremely difficult to maintain a level of quality that our customers expect, so we took the difficult decision to remove it.
Try to download Player 7 from here: Download VMware Player 7.x
See you soon,.
--
Darius
-
Hi, I have trouble getting the installer of Creative Cloud 30 day trial to boot on my computer. Here I did successfully about 3 days ago, but since then has picked up a virus. I used system restore to restore my computer about 5 days, which was to remove the creative cloud and Photoshop. Now I am trying to re - download creative cloud with no luck. Any idea would be highly desirable. -Demian Arend
Hello
Sign out of your account... Uninstall... to run vacuuming...
-http://helpx.adobe.com/creative-cloud/help/install-apps.html (and uninstall)
-using the vacuuming after uninstalling and prior to the relocation is necessary
-https://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html
-
I am installing 13 items and get the installer could not initialize error... on mac...
Please follow the steps in Photoshop elements 13 will not install & check if it helps you.
Concerning
Stéphane
-
I created the Package CC "exsample" series of license name and disabled the Office CC Implementation Committee and selected the option "specify directory for deployment" or 'Directory to specify' in the Advanced dialog configrations.
I started to deploy in the victory of the client PC with command line like below,
msiexec /i exsample.msi TARGETDIR = D:\test
or
msiexec /i INSTALLDIR = D:\test exsample.msi
Installation was completed though, apps had been installed in the defalt directory "C:\Program files".
In CC helps Packer said as the folliwings on the location of the Installation,
"The Application Manager offers you the following options for the deployment location:
Deploy in the default directory of the application: the player is by default the system unit; the default path is \Program Files in Windows/applications under Mac OS.
Specify the directory for the deployment: allows users to end to specify the installation path when the package is deployed. On Mac OS, users are invited on the user interface, while on Windows, it's a command-line only option.
' Specify the directory: enter the path to the location to a specific installation location.
Is - this explanation is wrong?
How can I change the installation directory in windows PC where to deploy the package to the series of licenses?
Any information would be appreciated.
Thanks in advance.
Kappa-maki
My friend told me that the correct command is as below,
MsiExec.exe /i example.msi ADOBEINSTALLDIR = "D:\test\" / quiet
It worked well!
-
Hello
I have a standard Acrobat 9 volume license, I need to reinstall it on a pc where we need to reformat the pc, how do I get the installer to download?
previous versions http://www.adobe.com/downloads/other-downloads.html
-
HP photosmart c7180 HELP! where can I get the installer?
I have all night trying to get the installer for this model.
We have the printer but my cousin lost the CD, he just told me to download the installer and it will take care of the rest but most link I searched are broken or unavailable. I tried everything, same download updated drivers, but there are serial key and I can't afford it yet.
This link will not start download http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=mp-76229-1&lc=en&dlc=en&cc=ca&...
I continued to have error.
If you download it, please upload it to a file sharing site and then please give it to me.
I film schools and I can't work without a printer. I am really frustrated.
Please help me!
my specs: windows 7 Home premium 64-bit
ANY HELP IS APPRECIATED, THANKS!
Where is this link?
http://ftp.HP.com/pub/softlib/software11/COL30775/MP-76229-1/AIO_CDA_FSW_Full_Win_WW_130_140.exe
Maybe you are looking for
-
How can I fix the download feature?
All of a sudden I can't download files from sites. I get a detailed message that begins with "Adobe Reader cannot view documents in the browser." I used to just hit download on a site that had an article, or a menu, or something that I wanted to down
-
There are 2 registered under my email ID unknown Skype accounts. I don't remember creating one of these. I found these today while I tried to reset my password. There are 3 Skype names registered to my email ID. Please look at this and help me to sol
-
How to adjustment of the curve
Is there a way to curve adjustments to data in number? This can be restored in Excel, but I don't see how making this number. Polynomial curve get preference. Thanks for your comments in advance.
-
Cannot create standalone application
Hello I searched all day on how to build a stand-alone application, but I can't follow the steps. I'll explain: I'm a student of LabVIEW 2014 version. I checked and I have the Application Builder active licese But when I go to my project and do right
-
Windows Update error 800700c 1 Windows Update encountered an unknown error.
Windows 7 Professional There are three updates that I tried to install using Windows Update... KB2284742, KB2249857, KB2388210 These three are recent updates and all three fail with 800700c error code 1. I tried different things fix this... Fixit of