LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I specify the installation directory in a distribution kit? I need to specify a specific location on the D: drive. C: is my Windows and CVI drive.

I am using CVI 7.0 and I need to be able to specify a specific path for the install location. This path is specified by my customer. I need to install on the 😧 drive. C: is my primary windows drive and CVI and IVI is not installed on the system. The E: drive is the drive with the most space. I need to be able to specify a specific path.
0 Kudos
Message 1 of 3
(2,701 Views)
I think using CVI distribution kit, you can only specify things like
"root directory" which for most users would be "c:", unless for you user
it is "d:". Hard coding exact paths is difficult, I haven't found a way.

But your user can always change the folder if they want to install in a
different folder, during the setup.


vishi

SLRSLETE wrote:
> How can I specify the installation directory in a distribution kit? I
> need to specify a specific location on the 😧 drive. C: is my Windows
> and CVI drive.
>
> I am using CVI 7.0 and I need to be able to specify a specific path
> for the install location. This path is specified by my customer. I
> need to install on the 😧 drive. C: is my primary windows drive and
> CVI and IVI is not installed on the system.
The E: drive is the drive
> with the most space. I need to be able to specify a specific path.
0 Kudos
Message 2 of 3
(2,701 Views)
Greetings,

While you cannot specify an absolute path from within CVI, you can specify one from the command line when you run the installer. You can specify an absolute installation directory by passing the INSTALLDIR property on the command line like this:
setup.exe INSTALLDIR=E:\MyDir\foo

To make this always be in effect, you could put a batch file wrapper around this command string and have your users launch that instead of the setup.exe.

Best Regards,
- WesW / NI
Message 3 of 3
(2,701 Views)