Installing on Windows
Two installers
| Installer | Updates | Use it for |
|---|---|---|
VDZ-Setup-<version>.exe | VDZ updates itself. See Upgrading and removing VDZ. | Single users, and teams that want new versions without a rollout. |
| The MSI | None. You install each new version. | Computers where IT decides when a new version arrives. |
Install one or the other on a computer, not both.
Setup.exe
VDZ-Setup-<version>.exe installs for the user who runs it. It needs no
administrator rights. It is the full version: each user signs in the first
time it starts, as with the MSI.
| Item | Detail |
|---|---|
| Program | %LocalAppData%\VDZ\current\vdz-v2.exe |
| Monte Carlo engine | dss_capi.dll, libklusolvex.dll and libwinpthread-1.dll beside the program, as for the MSI. |
| Licences | THIRD-PARTY-LICENCES.txt beside the program. |
| Updater | %LocalAppData%\VDZ\Update.exe and downloaded updates in %LocalAppData%\VDZ\packages |
| VDZ root folder | %LocalAppData%\ZeroCross\VDZ, as for the MSI, even when Setup installs the program in another folder (--installto). Setup copies the supplied library files here, and each update adds new ones. Neither writes over a library file that is already there. |
| Shortcuts | VDZ in the Start Menu and on the Desktop. |
| File type | .vdz files open in VDZ (HKCU\Software\Classes\.vdz and VDZ.Project). |
To install silently, as the user:
VDZ-Setup-0.1.1.exe --silent
Remove it in Settings → Apps. Uninstalling removes the program, the shortcuts and the file type, and leaves the VDZ root folder, preferences and projects.
Each VDZ open from a Setup.exe install holds a small lock file in
%LocalAppData%\zerocross\vdz\instances, so that an update installs only
when the last VDZ closes. VDZ never writes these to the install folder, which
may be read-only for the user. They are left behind with the VDZ root folder.
The MSI
VDZ for Windows is also a Windows Installer package (MSI) named like
VDZ-user-0.1.0-x86_64.msi. The 90-day demo is named
vdz-90-days.msi, the 30-day demo vdz-30-days.msi, the 14-day demo
vdz-14-days.msi and the 7-day demo vdz-7-days.msi.
The package installs for the user who runs it. It needs no administrator rights.
The full version asks each user to sign in the first time it starts. The demos do not. See Network access and privacy.
The package and the program are not code signed at present. Windows SmartScreen can warn when a user opens the installer. If your computers allow only signed software, add a rule for VDZ before the rollout.
What the installer does
| Item | Detail |
|---|---|
| Program | %LocalAppData%\Programs\ZeroCross\VDZ\bin\vdz-v2.exe |
| Monte Carlo engine | dss_capi.dll, libklusolvex.dll and libwinpthread-1.dll beside the program: the OpenDSS engine the Monte Carlo study runs on. |
| Licences | THIRD-PARTY-LICENCES.txt beside the program: the licence of every open-source component VDZ is built with. |
| VDZ root folder | %LocalAppData%\ZeroCross\VDZ, with the libraries, conversions, templates and ErrorReports folders. The installer copies the supplied library files here. |
| Shortcuts | VDZ and Uninstall VDZ in a VDZ Start Menu folder, and VDZ on the Desktop. |
| File type | .vdz files open in VDZ. |
| PATH | Optional feature. Adds the program’s bin folder to the user’s PATH. |
| Registry | Values under HKCU\Software\ZeroCross\VDZ that record what was installed, and the .vdz file type. |
The installer never writes over a library file that is already in the VDZ root folder.
Install by hand
Double-click the MSI and follow the steps.
Install silently
Use the standard Windows Installer options. Run the command as the user, not as SYSTEM, because the package installs to that user’s profile.
msiexec /i VDZ-user-0.1.0-x86_64.msi /qn /norestart
To write a log:
msiexec /i VDZ-user-0.1.0-x86_64.msi /qn /norestart /l*v "%TEMP%\vdz-install.log"
Options
| Option | Effect |
|---|---|
APPLICATIONFOLDER="C:\Path" | Installs the program to another folder. |
ADDLOCAL=Binaries,StartMenuUninstall | Chooses the features to install. Leave out Environment to leave PATH unchanged. |
The features are:
| Feature | Contents |
|---|---|
Binaries | The program, library files, and the Start Menu and Desktop shortcuts. Required. |
Environment | Adds the program’s bin folder to PATH. |
StartMenuUninstall | The Uninstall VDZ shortcut. |
The Desktop shortcut is part of Binaries and cannot be left out by itself.
The VDZ root folder’s location cannot be set at install time. To use another
folder, see Sharing libraries across a team.
Deploying with Intune or Configuration Manager
Deploy the MSI in the user context. A deployment in the system context installs VDZ into the SYSTEM account’s profile, where no user can find it.
An installer for all users
The standard release has only the per-user installer. A per-machine installer,
which installs to Program Files and puts the VDZ root folder in
%ProgramData%\ZeroCross\VDZ, is not part of the standard release. Contact
HyEnergy Solutions if you need one.
Open a project from the command line
vdz-v2.exe "C:\Projects\Example.vdz"
VDZ takes one argument: the project to open. It has no other switches.