LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW 7.0 Installation Utility

I'm using the AppBuilder to make an installation program for me. It
works well (copies all my files and creates subdirectories underneath
the main installation folder, etc.). But in my testing, when I try to
run the installation program again, it correctly sees an installation
already present and prompts the user to uninstall first, then
reinstall. But when I do this, all of the data files that have been
created underneath my main installation folder are wiped out.

Is there a way to get LabVIEW to just "install over" an existing
installation without first uninstalling?

Thanks,
s
0 Kudos
Message 1 of 4
(2,869 Views)
> all of the data files that have been created
> underneath my main installation folder are wiped out.

All the files, or just ones in the directories created by the install?
When I uninstall, app\data gets deleted, but app\myStuff doesn't.

Les Hammer
0 Kudos
Message 2 of 4
(2,869 Views)
You're right, only the files created by the install are removed during
uninstall. But one of the files that my installation creates needs to
remain there after an update installation, because it gets modified and
I don't want to copy over the original default file whenever I
reinstall. I guess I need a way to tell the installer to create the
files IF they are not there. Is that possible?

Les Hammer wrote:
>
> > all of the data files that have been created
> > underneath my main installation folder are wiped out.
>
> All the files, or just ones in the directories created by the install?
> When I uninstall, app\data gets deleted, but app\myStuff doesn't.
>
> Les Hammer
0 Kudos
Message 3 of 4
(2,869 Views)
> I need a way to tell the installer to create the files IF they are not there.

How about your LabVIEW program copy the app\data\standardFile to app\specialData\modifiedFile?

modifiedFile shouldn't get wiped out by the uninstall. When your program runs, it first looks for modifiedFile. If it isn't there, it copies standardFile to modifiedFile.

Les Hammer
0 Kudos
Message 4 of 4
(2,869 Views)