Hello, I’ve read all round without finding any mention to it.
I would like to have installed Wfview on a USB Stick (for Windows 10 or 11) so that I can move it from laptop to laptop (all Windows) without having any further installation. Wfview should be “portable”.
The first installation on the USB Stick would be done with Administrator rights.
I do not have Adimnistrator rights for all following laptops where I would use the USB Stick.
I have never tried it, but ‘In theory’ this should work, just run the wfview installer and set the USB stick as the destination. This will ensure that the correct directory structure is configured.
By default, wfview uses the Windows registry to store its configuration, you can run wfview.exe with the -s argument to specify a .ini file to use instead. The full list of available command line arguments is available here: Command-Line Arguments | wfview
I’ve installed wfview on a usb stick and it’s working.
I created a shortcut to the exe file as you se below, I made my settings, saved them and changed the usb to another pc after checking the settings were running well.
Hello, I created a .bat file on the USB stick in the same directory of Wfview.exe.
This batch creates first the .conf file if not existing and opens it each time you call the batch.
If you create a link from your batch file (located in the subdirectory of wfview) in the root of your USB stick (J:, D: or whatever), you automatically launch the .exe with your local config file.
I created two config files: one for a LAN environment and another for the WAN.
Below I share the contents of the LAN batch.
If you clone the batch file for the WAN remember to rename each field in the batch file from _LAN to _WAN. The variable used in the batch files are absolut to your windows environment.
If you use a LAN variable in a WAN batch file you “override” the LAN variable.
I could also share the two files if you show me how.
I hope this help. I will do some tests in the next days.
Andrew HB9FBD
@echo off
setlocal
::------------------- Configuration filename ---------------------------------
set _SCRIPT_RIG_CONF_LAN=IC-7610-LAN.conf
::------------------- Code to keep unchanged ---------------------------------
set _SCRIPT_DRIVE_PATH_LAN=%~dp0
set _SCRIPT_SETTINGS_LAN=–settings
set _SCRIPT_DRIVE_PATH_RIG_CONF_LAN=%_SCRIPT_DRIVE_PATH_LAN%%_SCRIPT_RIG_CONF_LAN%
set _SCRIPT_DRIVE_PATH_RIG_CONF_SETTINGS_LAN=%_SCRIPT_SETTINGS_LAN%%_SCRIPT_DRIVE_PATH_RIG_CONF_LAN%
echo _SCRIPT_DRIVE_PATH_LAN is %_SCRIPT_DRIVE_PATH_LAN%
echo _SCRIPT_RIG_CONF_LAN is %_SCRIPT_RIG_CONF_LAN%
echo _SCRIPT_DRIVE_PATH_RIG_CONF_LAN is %_SCRIPT_DRIVE_PATH_RIG_CONF_LAN%
echo _SCRIPT_DRIVE_PATH_RIG_CONF_SETTINGS_LAN is %_SCRIPT_DRIVE_PATH_RIG_CONF_SETTINGS_LAN%
echo:
echo:
::------------------- Launch the exe -----------------------------------------
wfview.exe %_SCRIPT_DRIVE_PATH_RIG_CONF_SETTINGS_LAN%
::J:\Wfview\wfview.exe %_SCRIPT_DRIVE_PATH_RIG_CONF_SETTINGS_LAN%