LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Installer-Question

hallo, using Labwindows CVI 8.0.1 I have the following problem (may also be it isnt one): I install my software by an installationkit (built with CVI) with some configuration-files etc. into the folder C:\Programme\. if anybody manipulates later one of these installed files (e.g. one of my config-files) WIN wants to reinstall my complete software: "Insert the msi....!!!". Is this ok and what to do ? best regards Simon
0 Kudos
Message 1 of 4
(2,965 Views)
What file types (extensions) are your config files?  Also, what triggers the repair?  Do you get this repair prompt as soon as you launch your application?  If so, does it act differently if you launch it from a shortcut or run it directly?

In general, I recommend having your application generate a default config file instead of installing one.  This would be one solution to your problem, as the installer would not know or care about the file.  Your application just has to look for a config file to use, and if one is not found, it writes a default file to disk and uses that.

Mert A.
National Instruments
0 Kudos
Message 2 of 4
(2,956 Views)
1. now, I am using the CVI Report-generator. Think it is registered as an activeX-server and runs fine. and if I use this tool via e.g.a "Print report" button in my application the Win-Installer checks all files recently installed via an installation kit. if there has something changed (a file can not be found...) the installation is redone ones more - and the installation-medium (CD...) is necessary. 2. my cfg-files I have written in an self-made format just like an INI-file. Its not so excellent like XML but works good in some measurement-solutions. 3. Can the effect described in 1. be a normally behaviour of the WIN-installer ? best reagrds Simon
0 Kudos
Message 3 of 4
(2,950 Views)
Yes, ActiveX can trigger an installation repair if any of the installed files are found to be in "need" of repair.  There is not really much you can do about this, besides my earlier suggestion of generating config files instead of installing them.

Mert A.
National Instruments
0 Kudos
Message 4 of 4
(2,918 Views)