Page 1 of 1

Silent installation without installing into GAC

Posted: Tue 05 Jan 2021 09:26
by pergardebrink
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?

Re: Silent installation without installing into GAC

Posted: Wed 06 Jan 2021 10:11
by DmitryGm
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.

Re: Silent installation without installing into GAC

Posted: Mon 25 Jan 2021 13:02
by pergardebrink
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? ;)

Re: Silent installation without installing into GAC

Posted: Tue 26 Jan 2021 08:11
by DmitryGm
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.