Hi,
I recently update to imdisk 1.5.3 and I saw that there is a success pop-up in silent mode :
If I install using this command :
imdiskinst.exe –y
The install complete successfully, but I have a pop-up saying :
"Setup finished successfully. Open Imdisk Virtual Disk Driver in Control Panel
or use imdisk command line to manage your virtual disks!"
Could you please tell me if this new pop-up window is displayed on purpose in silent mode?
Not on purpose really, but there were some things changed in 1.5.3 to make things easier for non-expert users. For example it checks if there are any existing ImDisk virtual disks before upgrade and it also displays error message boxes if .inf part of setup failed. Unfortunately there is no way, or at least no way that I am aware of, for the setup cmd script to check if setup runs with -y switch. If there were such a method available it could just skip showing message boxes. But the -y switch only affect the 7-zip self-extractor and not the script it runs.
One workaround could be to change the cmd script to look for an environment variable, say IMDISK_SILENT_SETUP and if that variable is defined to, say, 1, it could skip displaying message boxes. You could then define that environment variable from your application or script that invokes imdiskinst.exe so that it will be inherited down to the cmd setup script.
Or do anyone have any better idea?