New Posts New Posts RSS Feed - silent install switch to avoid desktop icon
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

silent install switch to avoid desktop icon

 Post Reply Post Reply
Author
tkleiber View Drop Down
Groupie
Groupie


Joined: 16-December-2020
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote tkleiber Quote  Post ReplyReply Direct Link To This Post Topic: silent install switch to avoid desktop icon
    Posted: 16-December-2020 at 7:56am
Hi!

I don't want install the desktop icon in silent install. Is there any command line switch to avoid this?

Best regards
Torsten
Back to Top
administrator View Drop Down
Admin Group
Admin Group

Stefan Mueller

Joined: 25-January-2003
Location: New Zealand
Points: 1031
Post Options Post Options   Thanks (0) Thanks(0)   Quote administrator Quote  Post ReplyReply Direct Link To This Post Posted: 17-December-2020 at 2:51am
Dear Torsten,

Yes, there is. I use INNO Setup - the command line options for the installer can be found on https://jrsoftware.org/ishelp/index.php?topic=setupcmdline .

Example:
FormsAPIMaster40b351.exe  /VERYSILENT /DIR="C:\Oracle\FormsAPIMaster"

This will install the tool silently. Once installed you need to also register the license key. The easiest is to just generate that license key on your computer and then copy it to all your silent installed targets:

- on your computer select “License everyone” on the licensing screen. If you chose “license current computer user” then it will create the file in your users profile application folder. If you chose “license everyone” it will create the file locally where FormsAPI Master has been installed.
- Make sure you have admin rights (writing in the c:\program files\ folder requires that)
- The file will be named LicenseFAV4.dat for FormsAPI Master V4.0.

Now copy that license file to your target installations and they will be registered!


Regards,
Stefan
Back to Top
tkleiber View Drop Down
Groupie
Groupie


Joined: 16-December-2020
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote tkleiber Quote  Post ReplyReply Direct Link To This Post Posted: 17-December-2020 at 2:59am
Hi!

From INNO Setup:
/NOICONS will not help, as it "Don't create a Start Menu folder"

Remove-Item "C:\Users\Public\Desktop\FormsAPI Maste*.lnk" -Force -ErrorAction Stop

Best Regards
Torsten
Back to Top
administrator View Drop Down
Admin Group
Admin Group

Stefan Mueller

Joined: 25-January-2003
Location: New Zealand
Points: 1031
Post Options Post Options   Thanks (0) Thanks(0)   Quote administrator Quote  Post ReplyReply Direct Link To This Post Posted: 17-December-2020 at 3:24am
Just tested it, you are right - the /noicons won't work. I think your workaround script is an ok solution. The other solution would be to use the installer with the /saveinf=c:\install.txt option to create a setup config file like this:

[Setup]
Lang=default
Dir=C:\Oracle\FormsAPI Master V4.0
Group=ORCL Toolbox\FormsAPI Master V4.0
NoIcons=0
SetupType=fullinstall
Components=programfiles,helpfiles
Tasks=

... and once you have that file you can run the installer with /loadinf=c:\install.txt /verysilent to install it.

Regards,
Stefan

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.