Category header

Installation Command Line Options

More
2 hours 27 minutes ago #711 by Coopervla
Hi there!

I'm an IT admin at a University looking to install Fragstats remotely on one of our clients machines. Through testing I've already found that /silent works to silently install the program, but I'd like to know if there also happens to be a flag for adding a desktop icon. For whatever reason, having desktop icons just cuts down on our number of tickets, so I'd be interested to see what all flags are available. 

Thank you!

Please Log in or Create an account to join the conversation.

More
1 hour 31 minutes ago #712 by eduard
Hi coopervla,

Unfortunately there is no switch for creating a desktop icon when installing remotely like you do.

There is however a potential solution by using a script to generate the shortcut in the desktop of you user.

Here is an example of such script / batch file, let's call it make_frg_shortcut.bat:

powershell -Command "$WshShell = New-Object -ComObject WScript.Shell; $Shortcut = $WshShell.CreateShortcut('%USERPROFILE%\Desktop\FrgGUI.lnk'); $Shortcut.TargetPath = 'C:\Program Files\Fragstats 5.0\frg_gui.exe'; $Shortcut.Save()"

Assuming that you are using the default paths for installation, it will create a desktop link to frg_gui named FrgGUI.

Depending on your particular configuration you may need to adjust the script slightly.

Best,
Eduard

Please Log in or Create an account to join the conversation.

Moderators: eduardkmcgee
Time to create page: 0.143 seconds
Powered by Kunena Forum