LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

extra Destination Directory text on LabView-built installer

As of perhaps a week ago, the installer applications I build with LabView's "Build Application or Shared Library (DLL)" insert the word "WindowsVolume" into the Destination Folder for the application's installation.

Instead of
C:\MyCompanyDirectory\MyAppDirectory
The installer application lists
C:\WindowsVolume\MyCompanyDirectory\MyAppDirectory
... the user that is installing must delete the unwanted 'WindowsVolume' text, or browse to the appropriate directory.

My installer settings are:
Default Installation Directory : Root Directory
Default Installation Subdirectory : MyCompanyDirectory\MyAppDirectory

This happens on whatever PC to which I run the installer.

A similar thing happens if (in the LV Application Builder)  I choose, say, Desktop Directory for my Default Installation Directory, and build the application and installer.
Running the installer, the Destination Folder is this time "C:\DesktopFolder\..."
It's as if variable names are being listed, instead of their values...

I have a hunch this may have something to do with having installed the recent Windows Installer Update (on my XP LabView dev box).
I've never experienced the problem before, having built and rebuilt apps & installers with LV many times.

Any help is much appreciated!
0 Kudos
Message 1 of 3
(2,464 Views)

This is most likely related to the Windows update you recently installed on your computers. The cause of this lies in the registry settings for Windows, and not with LabVIEW itself. Editing the appropriate registry setting will solve this problem, but BEWARE! Take extreme caution when editing any registry settings. You may make changes that cannot be reversed and could force you to reinstall your operating system from scratch. National Instruments does NOT support this option.

If erasing WindowsVolume from the destination directory is indeed too much trouble, then (for your information) consider changing the following registry entry as indicated:

Key: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\FileSystem
Entry: NtfsDisable8dot3NameCreation=0

National Instruments is working to fix this issue in future versions of LabVIEW without requiring any editing of the registry.

Jarrod S.
National Instruments
0 Kudos
Message 2 of 3
(2,449 Views)
This resolved my issue -- Thank you, Jarrod!

Note that a restart was required after making this registry change.
Also note that it is possible and probable I made this change myself, and that it is not a result of the Windows update.
0 Kudos
Message 3 of 3
(2,441 Views)