Silent installation without installing into GAC

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for MySQL
Post Reply
pergardebrink
Posts: 8
Joined: Mon 02 Jul 2018 08:26

Silent installation without installing into GAC

Post by pergardebrink » Tue 05 Jan 2021 09:26

I am trying to setup a silent installation of the dotConnect for MySql, but am having trouble automating so that it doesn't install assemblies into GAC.

My current commandline for installing is:

Code: Select all

dcmysql818_1759pro /norestart /suppressmessageboxes /silent /components=VsIntegration,Entity,WebProviders,AspNetIdentity,ModelerTool
I am however unable to stop it from installing the assemblies. I have tried to save the settings from an installation where I unchecked it with the /SAVEINF command, but there's no difference between clicking it and not clicking it and the log does not give any hints.

Apparently there seems to be some Inno Setup check that looks specifically at the checkbox in a "CheckEnableGac" function (and that checkbox is not there during unattended setup).

Is this possible to automate? If it's not possible to do with current version, could you add a way of specifying this from the commandline?

DmitryGm
Devart Team
Posts: 152
Joined: Fri 11 Dec 2020 10:27

Re: Silent installation without installing into GAC

Post by DmitryGm » Wed 06 Jan 2021 10:11

The Do not install assemblies in the GAC option is not yet available when installing from the command line in the silent mode.

We are investigating adding this option for the silent mode in future product releases.

pergardebrink
Posts: 8
Joined: Mon 02 Jul 2018 08:26

Re: Silent installation without installing into GAC

Post by pergardebrink » Mon 25 Jan 2021 13:02

Thanks! Will you note it in release notes, or how do I find out once it's released? Do you know if it's expected to happen soon or not-so-soon? ;)

DmitryGm
Devart Team
Posts: 152
Joined: Fri 11 Dec 2020 10:27

Re: Silent installation without installing into GAC

Post by DmitryGm » Tue 26 Jan 2021 08:11

The feature was implemented in the 8.19.1812 14-Jan-21 release.
pergardebrink wrote: Tue 05 Jan 2021 09:26 My current commandline for installing is:

Code: Select all

dcmysql818_1759pro /norestart /suppressmessageboxes /silent /components=VsIntegration,Entity,WebProviders,AspNetIdentity,ModelerTool
In the newest release you can use /disablegac command line option like this:

Code: Select all

dcmysql819pro.exe /disablegac /norestart /suppressmessageboxes /silent /components=VsIntegration,Entity,WebProviders,AspNetIdentity,ModelerTool
Soon it will be reflected in the documentation.

Post Reply