PackageMaker Install requirement problem

Hi I am trying to use the File exists on System. I want to check to see if a file exists in a location
in /Users/myusername/Library/... The problem is I have not found a way in using the global variable for the username. Since this check will need to be done before the software install a new application in the /Applications folder . How can I specify a generic global to point to the user trying to install?
I have tried '~' , $HOME and variations but no success. Does anyone have the solution. this file I am looking for was installed by another software package so it can not be changed.
Thanks

inNH wrote:
Hi I am trying to use the File exists on System. I want to check to see if a file exists in a location
in /Users/myusername/Library/... The problem is I have not found a way in using the global variable for the username. Since this check will need to be done before the software install a new application in the /Applications folder . How can I specify a generic global to point to the user trying to install? I have tried '~' , $HOME and variations but no success.
You can do that with a shell script instead. $HOME should work fine there.
this file I am looking for was installed by another software package so it can not be changed.
You are running as root, you can change anything
However, your logic looks suspicious. If you are checking for the existence of another application, looking in the user's library folder is not the right way to accomplish that. They user could have removed the application, but not the associated user files. The application could be properly installed, but this could be a new account or the user could have deleted those files. If you want to check for an application, look for the application itself. That should solve the whole problem.

Similar Messages

  • Elements 10 won't finish installing. it says installing required shared technologies and wont go any

    I tried installing elements 10 last night and part way through it just kept saying installing required shared technologies and stayed on that and won't go any farther. I've tried uninstalling it and starting over but it won't let me do that either. It says I need to finish installing what was already started. I'm very frustrated. I'm a photographer and I need to get this problem fixed so I can finish my work. Can you advise me to do anything to fix this?

    http://helpx.adobe.com/photoshop-elements/kb/troubleshoot-installation-photoshop-elements- premiere.html#main_Error__Below_mentioned_applications_have_failed_to_install__Shared_tech nologies_

  • Windows 10 Error code: 0x80070570 at 68% "windows cannot install required files"

    Trying to do a clean install from a USB flash drive and DVD. Same error each time at same location. (68%) I have removed all USB devices, Ran chkdsk and updated firmware on SSD.
    Asus Sabertooth P67 BIOS 3602
    i7-2600k 3.4GHz
    24GB ram DDR3
    500G SSD OCZ Vortex Sata 3
    "Windows cannot install required files. The file may be corrupt or missing. Make Sure all files required for installation  are available, and restart the installation.
    Error code: 0x80070570" 

    Hi Covered,
    Glad that you have resolved this issue.
    Have a nice day!
    Regards,
    Alex Zhao
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • 'Windows cannot install required files' error while installing Vista SP1

    I'm installing Vista Client SP1 on my Macbook pro and getting the following error:
    Windows cannot install required files. Make sure all files required for installation are available, and restart the installation.
    Almost exactly as described in this KB article: http://support.microsoft.com/kb/930984/ except my error code is 0x80070017. I'm double-checked CRC on my dvd to ensure it's not corrupt. Also I've previously successfully installed Vista SP1 from the SAME DVD on a different Mac Leopard (desktop)
    Any ideas? This is a new Macbook pro, just got it yesterday. Could be DVD drive issue?
    Thanks!

    Did you get far enough to delete the FAT partition BootCamp created, so you could create a new NTFS one?
    http://support.microsoft.com/kb/933925
    or this:
    http://discussions.apple.com/thread.jspa?threadID=1464025&tstart=0

  • Trying to install Adobe Premiere elements 12.  When it gets to "Installing required Shared Technologies" stage it gives errror "Setup has detected that Adobe Bridge CS5 (Bridge.exe) is currently in use.  Please close all running exe(s).  Nothing is runnin

    question:  Trying to install Adobe Premiere elements 12. When it gets to "Installing required Shared Technologies" stage it gives errror "Setup has detected that Adobe Bridge CS5 (Bridge.exe) is currently in use. Please close all running exe(s). Nothing is running when trying to install this, have been through this process several times. Found undertroubleshooting to delete files PDAppFlex.swf and PDAppFlex-app.xml and have done that as well. Any help will be greatly appreciated

    Try Error "Installation cannot continue until... Adobe Bridge is closed" | Installation | CS5

  • When trying to uninstall iTune (because the current install has problems), I get the error message 2324.  What should I do to reinstall the application?

    When trying to uninstall iTune (because the current install has problems; iTune error message states it cannot sync and that I should reinstall the application; also, it fails when I tried to upgrade to the latest release), I get the error message 2324.  What should I do to reinstall the application?

    That installer error is a "Can't open file" error
    It suggest that you may have a corrupt file.
    Try running a disk check
    http://windows.microsoft.com/en-US/windows7/Check-a-drive-for-errors
    If it fixes errors try uninstalling iTunes again.
    If that doesn't work, is it possible for find out the name of the problem file, is further information available? Try looking in your Action center - that's on the control panel. Another place is in the Windows Error logs. From the start menu , right click on "Computer" and select manage, then Event viewer.
    If nothing emerges, try a manual uninstall of iTunes and related programs according to this method:
    http://support.apple.com/kb/HT1923
    Don't worry if an uninstall fails, that is expected. Go on to the part where you have to delete files (2. Verify iTunes etc completely deleted) . Hopefully you manage to find a file that can't be deleted, that is the one we will need to deal with.

  • Errors "A media driver your computer needs is missing." or "Windows cannot install required files" upon attempting to install Windows 10 TP build 10041 64-bit

    I'm attempting to install Windows 10 TP build 10041 [64-bit]
    I am currently being prevented from installing by a "A media driver your computer needs is missing." error, which occurs fairly early in the process. I've interpreted further text in the message as a suggestion that it's a DVD, USB or some other
    similar driver issue. However, as I've been able to attempt each install through booting from DVD and USB, I'm not convinced this is the issue.
    I'm currently installing to a 128Gb SSD drive. I have installed Windows 10 TP on my laptop's SSD with no issues.
    On a few occasions the installation has continue with the installation, and then failed at about 6% with the following error:
    "Windows cannot install required files. Make sure all files required for installation are available, and restart the installation. Error code 0x8007045D". I have not removed the installation USB or DVD.
    I did not have this issue when installing build 9841, so am currently assuming this is an issue with build 10041.
    Apologies if this query has been posed before, a search did not show up this issue.
    Any advice would be greatly appreciated.

    Hi Michael,
    Thanks for trying to assist!
    I attempted removing/deleting partitions and formatting the SSD as part of the install process. I have also tried installing via USB and DVD with the same issues.
    As part of the troubleshooting, I attempted to install a different OS. I was able to successfully install Linux Mint 17.1 with no issues. This further solidifies my impression this is an issue with Windows.
    I will try a different USB port, appreciate the suggestion, didn't think it would make a different given the various methods already attempted.

  • When trying to install an Adobe extention, during the installation process I get a message that says "This extention cannot cannot be installed-----requires version 13.0 or greater."  I am installing from within CC

    When trying to install an Adobe extention, during the installation process I get this message-----"This extention cannot be installed----requires version 13.0 or greater."  I am installing through Photoshop CC------appreciate any help.

    Hi Gary.  Extensions have to be written for the specific Photoshop versions they are designed to run on.and definitely don't all run on every version of Photoshop.  You'd think that you'd be OK with that message, but it might be that it works fine on CS6 (13) but not on CC (14).
    But it could be an error.
    What is the extension you are trying to install?  Is Photoshop, and Extension Manager fully up to date?  If you are sure that the extension runs on CC, I'd try un installing, and reinstalling the Extension Manager.  I have had to exactly that a while back.

  • CS1 Install/Uninstall Problems ?

    I can't uninstall CS1, nor can can I reinstall Photoshop from CS1, which is presently not installed. My OS is Windows Vista Home Premium. I am out of warranty and Adobe will not provide suppport. I have read all I can find about FLEXnet licensing suspecting there is a connection. When I try to either install or uninstall CS1, I get an error message from Microsoft saying that "Adobe CS1 installer has stopped working". There is no other information unless I open the Adobe File folder for Photoshop from CS1 that I saved to my desktop. I can initiate the install procedure from that folder, but when prompted for the original product serial number a message states that the serial number I have provided is invalid. I have talked with Adobe however, and their records indicate that I have a valid serial number.
    I have gone to "Services" using the administrative tools in the control panel and tried setting FLEXnet Licensing on manual,  then on automatic, and finally disabling it temporarily. I have gone to the Start Up menu on the desktop and entered "msconfig" in the search box and gone to services where FLEXnet was at first "stopped" and is now "running".
    On some forums there are recommendations to first copy and save FLEXnet to another area of the hard drive, then delete it altogether from its original location, and then uninstall ALL Adobe software in the computer before reinstalling everything. Other contributors strongly caution the removal of FLEXnet, and some users have complained of ongoing problems after deleting FLEXnet. Firstly, I'm not sure I can figure out how  to copy and save FLEXnet to another drive, and secondly I'm afraid of the possible results. Even if I can accomplish those tasks I don't know if that procedure will then allow me to either uninstall the portion of CS1 still in my computer, or reinstall the Photoshop that presently won't install. By the way, all the CS1 programs that remain in my computer are operational. Photoshop is the only missing component.
    I am not well versed in technology, and much that I read in the forums is only partially comprehensible to me. If you have the patience and knowledge to help me unravel this mess I would love your help. Thanks. Harrison

    Thank you Bob. It was very nice of you to write. I have been using CS1 with Vista since Vista came out. I'm aware that compatibility is considered a significant issue. Fortunately, I never had any problems until now, although I would have replaced CS1 with a more recent and compatible version if money were not part of the equation for me.
    Adobe told me that if I bought the CS5 they would help me straighten out any issues now caused by the CS1, but otherwise they would not help. I did not think to ask if Adobe has designed CS5 to be compatible with Vista, but I will. I may buy the more recent version out of necessity, but it does not seem unreasonable to me that Adobe should help someone with a valid serial and registration number access their software regardless of warranties. The problem at hand seems to be a glitch in the licensing application provided by FLEXnet that I presume protects Adobe from unauthorized use of their products. I am wondering how much this situation actually has to do with system compatibility, given that I have been using the software for roughly two years with Vista, or whether it is simply that Adobe's FLEXnet licensing shield can work against legitimate users under certain circumstances. Adobe did not mention FLEXnet to me, but I would like to know one way or the other if FLEXnet is at the core of the problem.
    Thank you again Bob for writing. I may wipe my OS clean and reload everything. I suspect the CS1 might work then, but I do realize that CS1 is old by technological standards, in spite of the fact that I would gladly continue to use it. I am among those people that find the cost of keeping current very difficult, and I find it exasperating that so many products and services become obsolete very rapidly when considering their relative cost. Have a nice weekend.
    Best Regards,
    Harrison
    Original Message -
    From: BobLevine <[email protected]>
    To: Alec Howard <[email protected]>
    Sent: Sat, Jun 12, 2010 4:09 pm
    Subject: CS1 Install/Uninstall Problems ?
    The original CS is completely unsupported under Vista or Win 7 and now that CS5
    s out, you're out of the upgrade loop. I wish I had something positive to tell
    ou but I don't.
    ob

  • The software to be installed requires Administrator or higher level access

    I am installing a new epson print driver on a G4 Quicksilver tower 10.4.11. When I try to install it, I get this message. "The software to be installed requires Administrator or higher level access privileges." I am stumped how to correct that issue.

    As far as the Printer...
    Mac OS X: About the Reset Printing System feature ...
    http://support.apple.com/kb/HT1341?viewlocale=en_US
    Might try Printer Setup Repair 5.1...
    http://www.fixamac.net/software/index.html

  • Installing ESX 2.5.5 - does install require licenses to allow power on of vms?

    Installing ESX 2.5.5 - does install require licenses to allow power on of vms?
    I am part of a DR exercise for ESX 2.5 installation. Question is whether ESX 2.5 requires serial numbers on install to allow power on of virtual machines?
    Or does it allow time period where vms power on for trial period?
    The ESX 2.5 admin doc says it must have licenses in order to power on vms.
    Can the serial numbers of production ESX 2.5 be used for DR exercise, or is the serial tied to hardware. (I think it could be used.)
    All points will be awarded.
    Thxs

    VMware even in the early days provided a 60 day evaluation license - this applies ESX 2.x and VC 1.x - the same limitations that apply today apply to the ESX 2.x once the eval period runs out - you will not be able to power on VMs -
    the licenses are not tied to the hardware.-
    If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful

  • Hello, i own an i7 all in one mac. I tried to partition him using bootcamp but didn't have mac os cd neither mac instalation. the problem i am dealing now its that i cant go back to OS partition since its not appeared when i restart c and no win drivers

    I tried to partition him using bootcamp but didn't have mac os cd neither mac instalation. the problem i am dealing now its that i cant go back to OS partition since its not appeared when i restart c and no win drivers to have a properly running system. I've thought as an option to re-download boot-camp and run the instalation from windows partition and see if i can repair it that way, didnt try yet thought just in case anyone has a better prposition or dealed with the same problem

    Take it to your local Apple Store or AASP, it's covered by a 1 year hardware warranty. If you have AppleCare then give them a call but I'm pretty sure they will advise the same. If you have not purchased AppleCare yet please do, this will extend the warranty to 3 years however it MUST be purchased within the first  year of ownership. Let it go 366 days and you are out of luck. AppleCare will also include telephone support too.
    Good luck.

  • Java won't install. Problems with "zipper.exe"

    I know there are lot of these posts concerning the installation problems of Java. But so far none has answered to the problem i am currently having. I am trying to install JRE 6.14 or something like that. Same thing happens in offline installation and online installation. I start to downlaod the thing and it goes fine. Then i run the file and it starts to install Java. This is where it gets stuck. On the part where it starts "extracting the installer", everything stops.
    When i press ctrl + alt + del, it seems that there is this executable file named "zipper.exe" which is trying to do something. Takes 25% of my Quad core processor = 1 core. Also there are 4 to 6 of "msiexec.exe" running but taking 00 of my processor.
    OS: Windows XP Home Edition with Servicepack 3
    Firewall: Comodo Internet security
    Processor: Not sure, Intel and Quadcore it is in my opinion.
    Any help is apreciated.

    *(Quoted from my post on gofractal's issue)*
    I am glad that I'm not the only one with this issue. I also have XP sp3, and I am thinking that is what it is coming down to, the possibility that there is not a Java version that is actually compatible with XP sp3, although some people do get lucky.
    I am going to try to change the registry to make Windows think it has sp2 again, and see if that doesn't help (The reason I say again, is because I actually have xp sp2, but I am not going to update to xp sp3 anytime soon, because after I did, a shaderapidx9.dll error came up with Valve/Steam's games that use the source engine, ie. half-life2, left4dead, counter-strike:source, etc., which ultimately ended up in me having to reformat).
    If any of you would like to try this, then proceed at your own risk.
    The method is:
    Step 1: Run Regedit by Clicking on Start -> Run , type in regedit and press enter
    Step 2: Make a backup of your registry (just in case)
    Step 3: Browse to "HKEY_LOCAL_MACHINE\SYSTEM\ CurrentControlSet\ Control\ Windows"
    Step 4: Modify the value of "CSDVersion" from "0x00000300" (SP3) to the Windows XP SP2 value of "0x00000200" (Double click where it says CSDVersion and in the Value Data box, enter 200, for XP sp2, or 300, for xp sp3)
    Step 5: Close registry editor
    Step 6: Reboot
    Note: I did this trick for the recent games that require XP sp3, like GTA4 and Tom Clancy's H.A.W.X. and haven't had any problems spur from this change as of yet.+
    Edited by: Sim74 on Jul 17, 2009 4:41 PM
    Edited by: Sim74 on Jul 17, 2009 4:45 PM

  • "Quick time version6.5.2 is installed, requires Quick time version 7.0.3"

    My itunes wont run because it says "Quick time version6.5.2 is installed, itunes requires Quick time version 7.0.3 or above.............
    then I tried to update my itunes but the Quicktimer player is failed to be install, and it shown error code: -3
    I'm using WindowsXP, I found itunes & quicktimer icons exist on my desktop, but no respone when I click the quicktimer icon. I'm not sure if the quick work or not!?
    Please help to solve this problem, my itunes run smoothy everytime, I don't know why this happen at all. Thanks for help~~~~~
    looking forward to your respone!!!!!!

    What has helped others with that same error is to install the QUICKTIME STANDALONE. Just go google it.
    You may want to totally unintsall the old quicktime first.

  • Solution Manager systems RAM requirements - problems with the Java Engine

    Hello,
    I am about to install SAP Solution Manager 7 on a WIndows 2003 Server x64 but I need to know what the RAM requirements are? I have been having problems with the Java Engine starting and it seems to time out, I have heard that this is a very RAM hungry process and it might be why?
    Many thanks for your help in advance,
    Omar

    Hello Omar,
    To size SAP Solution Manager 7.0 EHP1 we recommend to use the SAP Solution Manager Quicksizer Tool at:
    http://service.sap.com/sizing-solman
    Here you find information on how to use the tool, how to collect input data for E2E Scenario Sizing, on SAP E2E RCA Sizing, Introscope Tuning, Wily Enterprise Manager Cluster Setup for E2E RCA Scenario and BI Aggregation Strategy in E2E Scenario.
    Please find more information about installing Solution Manager in:
    http://service.sap.com/instguides -> SAP Solution Manager
    I hope this information helps.
    Thanks,
    Mark

Maybe you are looking for

  • Making Adobe PDF with From Field Non-Savable

    Hello, I'm using Adobe Acrobat Professional ver 9 and have created an accessible course certificate form with a fillable field.  The user brings up the certificate, types their name in the field, and prints the certificate.  When they do this, the fo

  • Original date showing is wrong by two years!

    Hi, I seem to have a big (and very weird) problem with dates in Lightroom. This relates - for the moment at least - to images dating back ten years, to when I had my first digital camera, a Nikon D100. See attached image. My belief is that the photo

  • Safari 5.0 will not prompt to remember username and passwords

    Safari 5.0 will not prompt to remember username and passwords for new sites I joined. It will remember the old ones but not the new. Under Safari< preferences> the autofill in all 3 places is checked. A box used to drop down when joining the site for

  • Printing problems with Pdf documents created with Pages

    I upgraded to Acrobat 8.0 recently and for some reason when I save a Pages document to pdf, within the print options then try and print, it prints blank. I have created other pdf documents which print OK, so the problem lies somewhere within Pages. I

  • I'm using xCode5  but i have the error expected identifizier or '('

    //  ViewController3.h //  externe website //  Created by Julian Fuchs on 23.01.14. //  Copyright (c) 2014 Julian Fuchs. All rights reserved. #import <UIKit/UIKit.h> @interface ViewController3 : UIViewController     IBOutlet UILabel *zahl;     float x