Trying to create install script in PackageMaker...help for newbie

Hello,
I am trying to deploy a solution as an install package. Currently, there are 3 items inside the folder that needs to be installed in the /Applications folder. This in itself is easy. However, when I create upgrades to the solution, I want to carry over one file from the previous installation to the new one. Is there a way to have this upgraded version install and instead of removing all of the earlier files, can it install the new files (which are 3) and carry over 1 of the other files.
I hope this makes sense. Thanks for any input or sample scripts that I may be able to modify to accomplish this.
Thanks,
Stephen

Thanks for your time!
Perhaps it would help if I explain a little further my situation and what I am trying to accomplish.
I have a database runtime solution that I want to distribute. I have all of the necessary files in a single folder, let's say, named "Progam 1.2". Since whenever I upgrade this version, I need to have the old data file from the previous version on hand to import into the new file, I create a new folder called "Program 1.3" So after the installation, I would have both folders. The user then opens the new version and the program then will import the previous versions data. At that point the user may delete the previous version folder entirely.
My question is how can accomplish an install so that the new version will not overwrite the previous folder "Program 1.2" when installing the upgrade to "Program 1.3" since I need the data file for updating the data. Ideally, I would love to have the new folder installed and the single data file in the previous version folder be copied to the new versions folder and be renamed to "Previous Data" so that the new version can update the data.
Again, I am a complete newbie in this arena and have simply been doing DMG files where the user copies the new version to the applications folder. But if there was a way to automate this installation more, I would like to do that.
Thanks again for your help!
Stephen

Similar Messages

  • I am trying to create within my modules a place for learners to contact me

    I am trying to create within my modules a place for learners to contact me to ask questions as well as submit long answers to questions, preferably through email. I could not get the email function on the button to work. I have Captivate 6. I even tried to open a file as well as open a document (such as Notepad) and that did not work either for me. Does anyone have any ideas how I can create this form of contact (it does not necessarily have to be through email) for my learners? I am just learning Captivate (I have taken boot camp but it was almost a year ago). Thanks in advance for any and all help!

    I would simply use a Click Box to achieve this. Create a piece of graphics or a text caption with your text such as "Click here to email me". The place a Click Box on top of this and set the On Success action (in the property inspector) to "Send e-mail to" and enter your email address in the Address field.
    That should do the trick.
    www.cpguru.com - Adobe Captivate Widgets, Tutorials, Tips and Tricks and much more..

  • I'm trying to create a new ichat Acc because for some reason the old one is not working, so I go to Create an Apple ID and start creating a new apple ID, when I submit the Acc it tells me that my Email address is already verified for another Apple ID and

    I'm trying to create a new ichat Acc because for some reason the old one is not working, so I go to Create an Apple ID and start creating a new apple ID, when I submit the Acc it tells me that my Email address is already verified for another Apple ID and thats the only email address I have... What can I do?

    There is no way to consolidate iTunes accounts.
    Setting up an iPhone has never required creation of a new Apple ID.
    You've apparently purchased content with both Apple ID's.  Sign into the device with the correct Apple ID and sync the content.

  • I want to create a script to enter text for me

    I dont want to remember my long library card number when I am on their site.  I want to create a script to type it for me.  I want to associate the script with a hot key.  How do I do this?I

    Assuming the library site is a webpage, use 1Password. It will do the job for you and securely. Been using it for years for just this kind of thing.
    https://agilebits.com/onepassword/mac
    You have to pay for it but there's a full 30 day trial so you can see if it works for you before parting with the cash.
    (Disclaimer: NO, I'm not assoc'd with the company, just a very satisfied user of this s/w for several years).

  • ERROR trying to re-install iTunes 7-PLEASE HELP!!!

    I have been trying to upgrade to iTunes 7.4 for the past week or so. Every time I have tried i get the below error message.
    *"C:Documents and settings\owner\local settings\temporary internet files\content.IE5\Y7XOUHYM\iTunesSetup[1].exe is not a valid Win32 application"*
    I followed the troubleshooting advice about removing all components of iTunes and Quicktime and re-installing it, but I can't get it to re-install.
    Now i have no iTunes at all.
    Please someone help with this issue!!
    Before anyone says anything-yes I have posted this on the iTunes install and upgrade forum. I'm just trying to spread the topic to different forums for a better chance of getting a response.
    thanks in advance
    iPhoNettie
    Message was edited by: iPhoNettie

    hi! Did you delete that specified file from Temporary Internet Files? Because it's cached, even if you've deleted all your iTunes files, but left that file in Temporary Internet Files, when you try to download the new iTunes, it will look at that file first to save the download progress.
    Delete that file, and try to download the file again. Matter of fact, delete all of your Temporary Internet Files content and try.
    Hope that helps a little,
    AL

  • Trying to create a script for iTunes

    This is one of those questions that probably has a very simple answer unless you haven't worked with Automator or applescripts.
    I found Automator, created a script for iTunes to change settings for audiobooks that I import from CD so that it remembers it's place in a "song", makes it so that it doesn't show up in shuffle lists, and doesn't have a gap between songs. Yippee for me.
    I click on File, Save, name the file and save it and ... it doesn't show up under iTunes. It only took me 45 minutes to get it so that the scroll icon shows up under iTunes (I'm so confused now that I don't even know which thing I did caused that to happen) but my script I created doesn't show up.
    I did find one place that said to place the file in (myname\library\scripts\programname) So I went to my home folder, find the library folder, found the scripts folder, and found only one application under there (Safari) but no iTunes. I created a folder called iTunes and saved my script there but ... it doesn't show up under iTunes.
    I did try quitting iTunes and opening it back up and ... it still isn't there.
    Is this even the right place to ask this question?

    OlsonBW wrote:
    ........Is this even the right place to ask this question?
    If it's not, then may I recommend MacFormat Magazine's own discussions forum -
    http://forum.macformat.co.uk/login.php?redirect=privmsg.php&folder=inbox
    I found that this is full of 'Users' and more likely to be experienced using AppleScript and Automator.
    Although I don't say that someone here won't be able to help. Just might take longer here or, as you yourself suggest, may need posting elsewhere on this site. Just speaking from previous experience of both sites

  • Create or modify a Search Help for a field in ByDesign

    Good morning,
    I need some help for know how we can create or modify search help in ByDesign Cloud Applications Studio.
    All idea are welcome.
    Thanks in Advance,
    Javier Gómez

    Hi SRM Experts,
    Please let me know any suggestion on this issue.
    Thanks a lot in advance.
    Thanks,
    Koyya

  • Problem creating a hybrid collective search help for werks,bukrs and ekorg

    Hi All,
    I have to create a collective search help for Org_key field of a custom table.
    This org_key field is a char4 field and can hold the value for plant , bukrs and ekorg.
    I need to create a collective search help which includes
    C_T001                          Collective Search Help for BUKRS (Company Code)
    H_T001W_NEW     Possible Entries for Plants
    H_T024E                         Input Help for Purchasing Organization
    I have added org_key field in the field description , how can i do the parameter assigment ( or declare the field description ) so that if the user press F4 for org_key field ,he is able to see all the search paths corresponding to C_T001,H_T001W_NEW, and H_T024E simultaneously, and corresponding to value chosen ( for plant , werks or ekorg ) the value is passed back to the org_key field.
    Thanks in Advance
    Regards
    Anurag

    Problem resolved. You can hard code values, like the domain name within the search help.
    Although I have found that if you don't use a search help and you have domain values then your drop-down list values will be automatically populated from the domain values for the field. At least in my dynpro it does.
    Jas

  • Trying to create and save a new site for the Bayside Beat tutorial but am having trouble

    trying to create a new site as explained by David Powers in this tutorial but I am already getting hung up.
    It tells me to go to site and then to New Site. I do that and type in Bayside Beat on the first line. (as soon as I do that you notice a red X on the right side of Bayside Beat.)
    I'm told to Browse for my folder which is on my desktop and click ok. When I press SAVE another window pops up.
    This time it tells me another site is named Getting Started and I'm asked to enter a different name.
    Question, where is this other site that is named Getting Started? What name do I call it now!?
    So I rename the site name San Francisco and press SAVE and another window pops up.
    This time it tells me I may have further problems still...What am I suppose to do?

    Do you mean, are the contents still in the original folder  or was it transferred to a new folder?
    Does it make a difference if it’s in the original folder?
    Ralph Fujiwara
    Graphic Designer
    5 Revere Drive, Suite 206 | Northbrook, IL 60062
    Direct: 847.849.2968 | EFax: 847.897.0768
    [email protected]

  • Trying to create complicated script, please help!

    I work at a cell phone store where business is less than excellent. We have this nifty tool where i enter a customers phone number and zip code in and it tells me if the are eligible for a discount. So my boss wants me to type in a phone number, beginning with the prefix 208640, and 208641, and beginning at the end of 0000 and ending at 9999, and calling all customers who are shown as eligible, if a phone number and zip code combination does not match, the site will rout me back to the entry page, and if a phone number/zip match it will take me to a new page showing me the results... this sounds like a job for a computer, and I am not willing to put that much time and effort into a useless, remedial task for $9.00 an hour as store manager... Please help!

    Automator might be the wrong tool. For scripting queries, post to the AppleScript forum under OS X Technologies.

  • Everytime i start the install process for creative cloud, it starts, looks as if its downloading, then disappears?  I recently had to restore my computer to a few days before I had photoshop on my computer, so now i'm trying to re-install it. PLEASE HELP

    See above,,, please help

    arg, this is so frustrating, as I'm considering BUYING or subscribing to photoshop, yet I cannot get it to work!
    I'm having trouble with the instructions, as I cannot locate the file they are asking me to locate:
    Rename the opm.db file.
    Close the Creative Cloud application if it's running.
    Navigate to the OOBE folder.
    Windows: [System drive]:\Users\[username]\AppData\Local\Adobe\OOBE
    Mac OS: /User/<username>/Library/Application Support/Adobe/OOBE folder
    Rename the opm.db file to opm_old.db
    Launch Creative Cloud
    I am using WIndows 8, and getting extremely frustrated. I have already 1) removed all adobe stuff with the cleaner. 2) renamed my user account on my desktop (which was in your requested forums), 3) rebooted and reinstalled creative cloud, and it's still blank...
    Can someone help me DEEPER as I'm a potential customer for life?
    Thanks in advance...
    John

  • Start up error message - Entry point xml TextReaderConstName could not be located in the dynamic link library libxm12.dll.  Happened after Itunes up date I think. Have tried uninstalling and installing nothing works.  Help please

    At start up I get the error message - The procedure entry point xml TextReaderConstName could not be located in the dynamic link library libxm12.dll.  I have uninstalled it and reinstalled but it does not fix the problem.  Happened after Itunes update I think.

    It's a simple fix and doesn't involve reinstalling anything.
    With Windows Explorer, navigate to your C:\Program Files\Common Files\Apple\Apple Application Support folder.
    Copy the libxml2.dll that you should find there, navigate to the nearby Mobile Device Support folder, and Paste it in there also.
    Restart the programme all should be well
    In case that your OS is (64 bit)
    1. Open windows explorer, go to location C:\Program Files (x86)\Common Files\Apple\Apple Application Support
    2. Copy file "libxml2.dll"
    3. Open new windows explorer, to to location C:\Program Files (x86)\Common Files\Apple\Mobile Device Support
    4. Paste file "libxml2.dll" to the location.
    5. Restart the programme, it should not display that message, it should be clear.
    Good Luck

  • Trying to create new pencils in Adobe Brush for use in Adobe Sketch

    I'm really impressed with Adobe brush. I figured I would create some new pencil thicknesses for Adobe sketch. They've come out ok but only really work with long straightish lines. If I try and do smaller curved lines I have a couple of issues. Sometimes the lines just don't come out at all or they're super faint. Other times the line starts off where I want but sort of 'corrects' itself to a different line as I draw.
    I've tried changing brush settings but not really seeing much difference. Do you have any tips on sorting this out? A tutorial showing how to make pencil/crayon type brushes would be amazing

    In Adobe Brush:
    Properties:
    Try to make the spacing smaller. 
    I find smaller sized brushes make for better resulting curves in Sketch.

  • Problem|Install iTunes problem! help for first time using iPod touch (2G)

    Look i try to install the iTunes, but after press the install button, its write:
    "The installer ecountered errors before iTunes could be configured.
    Your system has not been modifited. To retry these operations at a later time, please run the installer again."
    What to do? ****!250 Dollar on this iPod, not for free! i must have it working.
    Please help me =]

    Have you seen this iPod 101 tutorial? You might want to bookmark it.
    http://www.apple.com/support/ipod/howto/

  • Startup shell script help for newbie?

    New to UNIX (linux)... need the bash shell script commands for my r.c local file to start my services when server boots.
    I got my ds, dps and admin server in their respective /opt directories. I need the shell commands to have these start. Of course I can start them manually but when I try a line like this in a script, it doesnt work:
    ./var/opt/sun/directory-server/slapd-dsserver/start-dsserver
    Some path problem or dot thing?

    There are a few other things you may want to consider, such as what the default browser is, are tabs being used, is the page loaded yet, etc, but Safari has a do javascript command in it's scripting dictionary. The following script will open a new document and run your specified javascript, or you can go to their NPR Program Stream Page and download a playlist that will run directly from iTunes.
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px; height: 335px;
    color: #000000;
    background-color: #FFDDFF;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    set my_script to "NPR.Player.openPlayer(2, 0, '03-21-2008', NPR.Player.Action.PLAY_NOW, NPR.Player.Type.PROGRAM, NPR.Player.Mode.LIVE)"
    tell application "Safari"
    activate
    set the URL of the front document to "http://www.npr.org/"
    if my page_loaded(20) is false then error numner - 128 -- page not loaded in time
    do JavaScript my_script in document 1
    end tell
    on page_loaded(timeout_value) -- from http://www.apple.com/applescript/archive/safari/jscript.01.html
    delay 2
    repeat with i from 1 to the timeout_value
    tell application "Safari"
    if (do JavaScript "document.readyState" in document 1) is "complete" then
    return true
    else if i is the timeout_value then
    return false
    else
    delay 1
    end if
    end tell
    end repeat
    return false
    end page_loaded
    </pre>

Maybe you are looking for