Don't overwrite files on install

I was wondering if there is a way to avoid overwriting files if they already exist when doing an install. For example, if I run an installer in order to upgrade an exe, I don't want the user's custom config files overwritten back to their defaults by the installer.
Edit: I should add, I don't know if it will actually overwrite them, I'm just assuming it will do a full install, putting the defaults back.
CLA, LabVIEW Versions 2010-2013

Hi Greg,
Unfortunately there is no quick and easy way to stop an installer from overwriting files within the LabVIEW application/installer builder (see this product suggestion). The reason why there isn't just a quick selection as to whether an installer will overwrite files is that the installer is developed to follow the Microsoft Windows Installer format. To edit the installer, you can modify the .msi installer file directly. The following links have information on the windows installer and how to modify it:
Orca Database Installer Editing
Microsoft Installer Information
Replacing Existing Files
Hopefully these will give you a little more insight on the installer information. Another way you can manually stop the installer from overwriting the files would be to just save a copy of the desired configuration files elsewhere on your computer. Then, after running the installer, replace the new configuration files with the old ones. This can be quite tedious and may not work in some cases due to deeper associations between the files. But it would certainly be worth a try. Hopefully this at least gives you some general information.
If anyone else has other suggestions that they have found to be easier and effective, please post.
Thanks!
Chris G
Applications Engineer
National Instruments

Similar Messages

  • I don't know how to install Mp3 and PDF file from my computer to IPhone?

    I don't know how to install Mp3 and PDF file from my computer to IPhone? Please who can help me. Thanks

    Please Get the iPhone User Manual for iOS 5.
    Put such files into iTunes, sync to phone. Everything syncs from iTunes to phone.

  • Collaboration: DW overwriting files from local cache?

    How do I keep Dreamweaver from overwriting newer files on the
    server, wen those files were changed by another user?
    I have a PHP-driven site built for a client. i do most of the
    maintenance, but the client needs to update the text of some pages
    frequently as information changes rapidly. So, she edits the pages
    in DW.
    The problem is that often I'll change file A myself, and then
    when she edits file B, DW will quietly overwrite file A with an old
    version. I changed her setup to an ftp-only site (no local copy),
    and the problem actually got worse ... now it overwrites all files
    with old version EVERY time she saves any file! The best I can tell
    is it uses some hidden local cache, and always overwrites server
    files from the cache, even when the server file is newer.
    Is it possible to disable the cache? This client is on DW 8.
    Thanks.

    Evan Dorn wrote:
    > How do I keep Dreamweaver from overwriting newer files
    on the server, wen those
    > files were changed by another user?
    It sounds as though what's happening is that the other person
    is
    selecting the option to upload dependent files.
    I don't have Dreamweaver 8 installed any more, but the option
    that
    controls the upload of dependent files is in Preferences
    (Edit menu on
    Windows, Dreamweaver menu on a Mac). I'm pretty sure it works
    the same
    way as in CS4. Select the Site category, and uncheck both
    options for
    Dependent files.
    David Powers
    Adobe Community Expert, Dreamweaver
    http://foundationphp.com

  • 2011 MacBook Pro, 64 bit i7 quad core, upgraded to Lion OSx, Bootcamp installed with Windows 7, wanting to install Windows 8 (don't ask), tried downloading/installing bootcamp 5.0.5033, error message something similar to bootcamp doesn't support this Win

    2011 MacBook Pro, 64 bit i7 quad core, upgraded to Lion OSx, Bootcamp installed with Windows 7, wanting to install Windows 8 (don't ask), tried downloading/installing bootcamp 5.0.5033 (both on the mac/windows partitions (actually using a parallel to run Windows)), error message something similar to bootcamp doesn't support this Windows
    So the question is am I doing something wrong? Should I just try and install windows 8 through my windows 7 partition and see if I can use the bootcamp 5.05033. Or do I solely have to use the bootcamp to install Windows 8? I'm not too familiar with bootcamp and how it runs.

    if you're using parallels and full bootcamp then you're making it 100% more troublesome for youself then it needs to be
    bootcamp is running windows directly on the hardware this give full memory and cpu and 3d video game power
    running windows in parallels is running a virtual machine where one can't run powerful games and the like but one can have it in a window and change fast between osx and windows
    parallels as the only virutal machine (as far as I know) support not have the operating system as a file on the osx harddisk but can access a bootcamp parition as virtual machine but without the benefits bootcamps provides
    it's a service parallels provide for those who want both to play games in normal bootcamp and sometimes use windows in a virutal machine
    just install it like a normal virtual machine and you need not worry about bootcamp drivers and the likes
    plus it would mean that the windows part would be a part of the timemachine bacup of osx
    which it is not when it's in bootcamp

  • Dr. Brown 1-2-3 PS CS5 (to overwrite files)

    I have been a lot of issues on CS5 using Save for Web as a part of recorded action to create 3 jpg sizes. Results are images at 300 ppi instead 72 ppi. (No problems on CS4 running the same steps in the action) One day it works & the other don't. A lot people on this forum suggest me Dr. Brown 1-2-3 process. WOW! it is really good but it doesn't overwrite files with the same name on the destination folders. For example if I have a  photo named ABC1. jpg & run the 1-2-3 script again it creates another file ABC1_1. jpg. Is there any way to change that behaviour?

    Is the Script »scrambled« or can you open it in ExtendScript Toolkit and get the proper text?
    If the latter you could ask for help in the Scripting Forum.

  • Overwrite files twice?

    This problem just started happening today.  For some reason, Illustrator CS3 now needs to be told twice to overwrite files.
    Here's what happens:
    Select File/Save as...
    Dialog box comes up asking where to save the file.
    Navigate and select a file to overwrite.
    Get overwrite notification asking if I'm sure. (Yes) (No)
    Select 'Yes'
    Goes back to the dialog box mentioned in step 2 (overwrite didn't occur)
    Repeat steps 3 to 5 again.
    Finished.
    This occurs when overwriting AI files as well as other files being exported.  I tried restoring my AIprefs file but that didn't help.  I've seen a few older threads here mentioning this problem without any replies.  Is anyone aware of a fix for this problem?

    Well, I figured out the problem and it turns out I didn't have to re-install at all (didn't discover that until after I did though)
    It turns out that this is probably a bug.  Not sure if it's documented or not.
    If the PC has windows explorer set to "Hide extensions for know file types", (Explorer/Tools/Folder Options.../ View tab), then you will receive the overwrite notification twice.
    As soon as I unchecked that option, problem solved.
    Cheers

  • Cannot edit properties after overwriting file in a document library

    I am (programmatically) overwriting a file in a document library after which none of the metadata fields can be edited either programmatically or manually:
    Edit Properties -> change something -> Save
    There is no error, just none of the metadata fields will actually update. To overwrite the file, I am using copy.asmx webservice. I get the same result when overwriting via REST, or just doing a plain http PUT. I also tried list.asmx webservice to update metadata.
    As long as I don't overwrite a file, everything works great.
    This is Sharepoint 2010. Versioning is off, checkout is not required. "Overwriting" means there is an existing file, previously uploaded manually or with copyservice and the new file has the same name.
    Has anybody seen this behavior? (or managed to get a sharepoint document library file into a similar state).
    Thanks, RL

    Hi,
    According to your post, my understanding is that after uploading file using the Copy.asmx web service, you could not edit the properties.
    I had used the following code to upload the file, after that to edit the properties, it worked without any issue.
    static void Main(string[] args)
    Copy copy = new Copy();
    copy.Credentials = new System.Net.NetworkCredential("UserName","Password","Domain");
    copy.Url = "http://sp/_vti_bin/copy.asmx";
    string filePath = @"C:\Test\Edite2.txt";
    string[] destURL = { @"http://sp/LIbA/Edite2.txt" };
    FileStream fs = new FileStream(filePath, FileMode.Open, FileAccess.Read);
    byte[] contents = new byte [fs.Length];
    fs.Read(contents,0,Convert.ToInt32(fs.Length));
    fs.Close();
    FieldInformation fileFieldInfo = new FieldInformation();
    fileFieldInfo.DisplayName = "Edite2";
    fileFieldInfo.Value = "Edite2";
    fileFieldInfo.InternalName = "Edite2";
    fileFieldInfo.Type = sp.FieldType.Text;
    FieldInformation[] fileFieldInfoArray = { fileFieldInfo };
    CopyResult copyResult1 = new CopyResult();
    CopyResult copyResult2 = new CopyResult();
    CopyResult[] copyResultArray = { copyResult1,copyResult2};
    uint resultCopy = copy.CopyIntoItems(filePath,destURL,fileFieldInfoArray,contents,out copyResultArray);
    Console.WriteLine("Upload Successful...");
    Console.ReadKey();
    You can check with the above code, then check whether it works.
    Did the issue occur in other libraries?
    You can create new library to check whether it works, maybe the library had been corrupted.
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Programs will not overwrite files.

    I attempt to save files, or overwrite files using multiple programs and they will not save as overwrites. They save with (1) behind the original name. Normally this would not be a great issue, but I deal with many files
    at a large volume. I deal with .pdf files. Using Adobe Reader, G.I.M.P. 2, PDF24 Creator, and PDF Split and Merge Basic. This problem only began 1 week ago. I have attempted to remedy with malware scans, disk defrag, virus scans and ultimately formatted and
    re-installed windows. Any help would be wonderful. Thanks. 
    Windows 7 Home Premium 64bit
    ASUS Notebook U52F Series 

    Check file properties, do you see "Locked" ? Or unlock option ? 
    If file read only ? 
    Arnav Sharma | http://arnavsharma.net/ Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading
    the thread.

  • My itunes won't recognize my iphone and i don't know how to install the 10.6.3 itunes on my phone or whatever. helppppp.

    my itunes won't recognize my iphone and i don't know how to install the 10.6.3 itunes on my phone or whatever. helppppp.

    its looking for you to update on your computer. if your on a windows your want to open up itunes. click on help, and then click check for updates and then that should let you up date it. mac you want to click on itunes up by file and edit then click check for updates

  • I don't know how to install j2re on Linux

    Can someone help me? I wanted to install j2re on SuSE Linux 8.0. I downloaded the .bin-file from this site, but I don't know how to install it. Is it possible that I downloaded the wrong file?

    execute the file "./j2re...bin". If you got the Tarzip one, the j2re will extract into a directory called "j2re1.4.0_01" (depending on the version). Then you just move this directory to where you want the j2re installed, set up the environment:
    export JAVA_HOME=/path/to/j2re1.4.0_01
    export PATH=$PATH:$JAVA_HOME/bin
    export CLASSPATH=.
    (amend for your install.)
    and it should work.
    For the RPM version, you'll get a RPM after executing the file, which may then be installed using the usual RPM tools. I'd recommend the RPM file only on Red Hat though. There are differences between Red Hat and other distros which may cause problems.
    Bhav

  • Can't open any excel files after installing Snow Leopard

    I can't open any excel files after installing Snow Leopard. Is anyone else having this problem?
    I have a standard iWork '08 install. Has anyone experienced? And better yet, know of a fix?

    Welcome to Apple Discussions
    Most users who have had a problem opening Office files with the iWork apps after upgrading to Snow Leopard have the problem fixed by updating to the latest versions. For iWork '08 that is Pages 3.0.3 & Numbers 1.0.3. For iWork '09 it's Pages 4.0.2 & Numbers 2.0.2. I don't use Keynote, but it should also be updated. If you're not running the latest versions & Software Update says your software is up to date, make sure the applications are where the installer initially put them. The updaters are very picky. If the location is not where the updater is programmed to look or if the folder doesn't have the name the updater looks for, it will not work. The applications cannot be renamed or moved. They must be in the iWork '08 or iWork '09 folder in Applications. That iWork folder must be named iWork '08 or iWork '09. If it doesn't have the '08 or '09 Software Update won't find them & the updaters won't work.

  • UNABLE TO OPEN FCP 6.02 PROJECT FILES AFTER INSTALLING LEOPARD!

    **Unable to open FCP 6.02 project files after installing Leopard**. Tested and found that the files can be opened on another computer with OS 10.4.10, but not OS 10.5. Spoke to apple support many times, and have tried reinstalling FCP, but it didn't work.
    Apple is now saying to erase my HD and reinstall from scratch. This presents a problem since i have software installed but no disc due to a move, (they are deep in offsite storage).
    Anyone have this problem? Anyone know a fix?

    Lynne,
    There is a section in the manual on the migration tool... I don't have my machine fired up right now so can't direct you to the exact page. I think a search for migration or migrate should do it.
    Two other things to try:
    1. There have been numerous reports that Quicktime 7.3 is what is killing older projects. According to one of the third party program makers Apple re-wrote Quicktime changing the null value to Zero from minus-one. I'm not a code junkie so can't vouch for this but the upshot would be, go back to Quicktime 7.1 or 7.2 not 7.3
    2. There is a Quicktime plugin called "Perian". For lots of people it has caused numerous problems.
    Look for Perian on your machine and if you find it, drag the app to the trash... re boot and try again.
    Of course the ultimate solution would be to reinstall Tiger, Final Cut Studio 2 and Quicktime 7.2. So far the most stable combined setup for me and lots of others on G5 machines.
    36 degrees and thunderstorms with sleet here this afternoon. The door on my storage unit is staying closed.
    Message was edited by: John Criswell

  • Itunes exe file wont install

    Hi,
    Two days ago I formatted my pc (Windows 7 Professional 32bit) & have been going through the process of downloading & installing various programmes online. I've installed half a dozen or so & have got to iTunes. Visited apple.com to download the latest version, but everytime I double click, or 'run as adminastrator, nothing happens..?
    Restarted PC, turned off firewall & done Windows update, numerous times now & still nothing.
    I finally had the bright idea of downloading Quicktimeinstaller, which was no problem, this then presented me with the option to download iTunes. This I did but the file gets half way through the download & I get "iTunes has an invalid signature. It will not be installed"
    I'm pulling my hair out now, can anyone help? I have no previous iTunes installed as hard drive was wiped & every other program I've downloaded has istalled 1st time.
    Many thanks

    OK after hours of my time & a significant loss of hair, I've managed to download it...!!!!
    All I did was went to:
    http://http://www.dkszone.net/itunes-10-1-download-supports-ios-4-2-airplay
    and downloaded iTunes 10.1 (older version) this came down as the normal setup.exe file and installed to my PC, as soon as you open and run this version of iTunes it will inform you of an updated version 10.6. Just hit the install and go...
    IT WAS THAT SIMPLE
    I hope this will help others NOT to waste precious time, as I did..!

  • HT2188 Received error message, suggested uninstall and re-install but get message I don't have priveges to install i-tunes.

    Received error message, suggested uninstall and re-install but get message I don't have priveges to install i-tunes.

    Hello murray103
    Check out he article below to troubleshoot your install issues with iTunes. You may need to right click on the install file and click Run as Administrator.
    Issues installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/ht1926
    Regards,
    -Norm G.

  • Problems with people overwriting files with check in/check out

    This has to be the most frustrating problem I've ever
    experience in my life.
    I work in a team of 4 (we're all located in different states
    throughout the US). We have a major website that we all work on and
    we are all frequently updating pages on the site. We all use
    Dreamweaver and we all have the "check in/check out" feature
    enabled to ensure that we know who is working on what and don't
    overwrite each others changes.
    This however doesn't seem to be working. We have all noticed
    the past 6 months or so that every so often we will find files that
    have been reverted back to an older version of the file. For
    instance... We will change meta tags and keywords on certain pages
    and 2 weeks later we will access the same page only to find that
    the meta tags and keywords we had updated have been rolled back to
    a much older version of the file that had no meta tags at all.
    That's just one example but this seems to be happening every
    so often and we're all getting frustrated as heck with it.
    Basically I'm curious to know if anyone else is having the same
    problem and what the possible solution to this might be? There has
    to be a culprit I just don't know what it is.
    Also, will it matter if we work in remote view or local view?
    I wouldn't think it would matter as long as we have check in/check
    out enabled.

    in the check in/check out options, do you (and everyone else)
    have
    "check out when opening" enabled? the problem may be that
    someone is
    opening files on their local machine without checking them
    out first.
    you would definitely need to work on the file from the server
    (remote
    view) because, say someone else edits a file, and then you
    need to edit
    that same file. if you edit your local version without first
    downloading/checking out the file from the server, you will
    overwrite
    whatever changes the other person made when you upload it. of
    course, if
    you try to upload it without first checking it out, it should
    tell you
    that someone else already has it checked out and ask if
    you're sure you
    want to put it.
    it's possible that there's some technical glitch or something
    going on,
    but i suspect that you have at least one person who isn't
    following the
    rules of check in/check out properly.
    Chris Jumonville wrote:
    > This has to be the most frustrating problem I've ever
    experience in my life.
    >
    > I work in a team of 4 (we're all located in different
    states throughout the
    > US). We have a major website that we all work on and we
    are all frequently
    > updating pages on the site. We all use Dreamweaver and
    we all have the "check
    > in/check out" feature enabled to ensure that we know who
    is working on what and
    > don't overwrite each others changes.
    >
    > This however doesn't seem to be working. We have all
    noticed the past 6
    > months or so that every so often we will find files that
    have been reverted
    > back to an older version of the file. For instance... We
    will change meta
    > tags and keywords on certain pages and 2 weeks later we
    will access the same
    > page only to find that the meta tags and keywords we had
    updated have been
    > rolled back to a much older version of the file that had
    no meta tags at all.
    >
    > That's just one example but this seems to be happening
    every so often and
    > we're all getting frustrated as heck with it. Basically
    I'm curious to know if
    > anyone else is having the same problem and what the
    possible solution to this
    > might be? There has to be a culprit I just don't know
    what it is.
    >
    > Also, will it matter if we work in remote view or local
    view? I wouldn't
    > think it would matter as long as we have check in/check
    out enabled.
    >

Maybe you are looking for

  • How to use a custom KeyManager in nonblocking SSLSocketChannel

    In our existing project I had to replace the nonblocking SocketChannel by nonblocking SSLSocketChannel. My implementation of the nonblocking SSLSocketChannel hides all the SSL stuff and can be used like a SocketChannel in the whole project you just h

  • IPhone Battery Fix ---  Update 5.1.0 Works !!!  Steps to fix your Battery

      This was my post on another area but I accidently marked it as a question, so someone told me I shouldn't have marked it as a question so it could have helped more people...so here it is,  I hope it helps you too.  *** THIS WILL FIX YOUR iPhone BAT

  • Time Machine backup not recognized?

    I have a Time Machine configured drive that I have been using since 2010. I recently tried connecting it to my Airport Extreme backup over the air. It worked, but very slowly so I attempted to connect directly to my iMac again. Now Time Machine wants

  • Unpacking HU assigned to Delivery with RF (LM25)

    Dear, I am experiencing problems once I try to unpack picked Materials (Transfer Order is confirmed) from a Handling Unit assigned to an Outbound Delivery by means of RF. What I actually want to do is repack (1. unpack Materials from picked HU, 2. pa

  • ABAP program/Function module to assign the roles in SU01

    Hi, Is there any ABAP program/function module to assign the roles in SU01. And program/function module which does all teh SU01 related activities. Thanks and Regards, Rashmi