Thank you for all your help, Frank. The software program evolved... and its installer needs to catch up as well...
The last leg of the installer has a block of code like the following for adding a desktop icon to the user's computer:
REM prior, addDesktopIconKN.cmd has been copied to %userProfile%\Downloads\
call "%userProfile%\Downloads\addDesktopIconKN.cmd" FF
REM if the above call fails try the following
call "C:\Program Files\KnowledgeNoteBook\addDesktopIconKN.cmd" FF
goto kickoffFF
REM launch Firefox browser with a URL
:kickOffFF
...
EXECUTION OUTCOME:
the kickOffFF block was executed and
the line of call "C:\Program Files\KnowledgeNoteBook\addDesktopIconKN.cmd" FF
was executed for my Windows 7 as well.
Also, prior to installation, KnowledgeNoteBook subdirectory does not exist for
the "C:\Program Files" directory nor does the addDesktopIconKN.cmd file.
But KnowledgeNoteBook contains the addDesktopIconKN.cmd file.
And the KnowledgeNoteBook subdirectory is created/added to "C:\Program Files\"
during installation extraction process.
Now, question, is there any way to determine if the following is called successfully? If so I'd like to write its outcome to a log file for debugging.
call "C:\Program Files\KnowledgeNoteBook\addDesktopIconKN.cmd" FF
Thank you very much.