LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

uninstall executable removes directories

The installer currently installs the executable to C:\SystemTest\Program\SystemTest.exe

The installer also creates directories C:\SystemTest\TestLogs and C:\SystemTest\CsvFiles

 

I found that if I uninstall the program, through Control Panel, that C:\SystemTest\TestLogs and C:\SystemTest\CsvFiles directories are deleted.

 

We don't want the TestLogs directory to be deleted.

What settings do I put in the AppBuilder to change this?

 

 

0 Kudos
Message 1 of 4
(3,178 Views)

Where are the TestLogs and CsvFiles directories created specifically in the installer?  Was there something in AppBuilder you did to create them?

 

Also, what happens if you drag the TestLogs folder to a different location on disk prior to removing your executable?

Michael Keane
National Instruments
0 Kudos
Message 2 of 4
(3,074 Views)

@nyc_(is_out_of_here) wrote:

The installer currently installs the executable to C:\SystemTest\Program\SystemTest.exe

The installer also creates directories C:\SystemTest\TestLogs and C:\SystemTest\CsvFiles

 

I found that if I uninstall the program, through Control Panel, that C:\SystemTest\TestLogs and C:\SystemTest\CsvFiles directories are deleted.

 

We don't want the TestLogs directory to be deleted.

What settings do I put in the AppBuilder to change this?

 

 


A better solution in that case is to have the application check on startup if the directories exist and create them if they are not there!

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 3 of 4
(3,067 Views)

@rolfk wrote:

@nyc_(is_out_of_here) wrote:

The installer currently installs the executable to C:\SystemTest\Program\SystemTest.exe

The installer also creates directories C:\SystemTest\TestLogs and C:\SystemTest\CsvFiles

 

I found that if I uninstall the program, through Control Panel, that C:\SystemTest\TestLogs and C:\SystemTest\CsvFiles directories are deleted.

 

We don't want the TestLogs directory to be deleted.

What settings do I put in the AppBuilder to change this?

 

 


A better solution in that case is to have the application check on startup if the directories exist and create them if they are not there!


I was hoping that there is another way that I did not know about with Application Builder.

 

 

 

 

0 Kudos
Message 4 of 4
(3,053 Views)