Neutronium icon indicating copy to clipboard operation
Neutronium copied to clipboard

Release with Squirrel

Open TartanLeGrand opened this issue 5 years ago • 9 comments

I tried to release Neutronium SPA DEMO, but when I want to create an installer with Squirrel and I install it I have nothing that launches.

Is there a particular installation strategy?

TartanLeGrand avatar Feb 19 '20 09:02 TartanLeGrand

I have it working just fine. Nothing particularly complicated just add everything in the nuspec file and make sure the entry points u have only one entry application in your exe manifest as squirrel documentation suggests. Those were the only troubles i got because there were several exes being deployrd with application.

You need also to have the needed squirrel code to make sure updates are detected. But i supose you have handle that part.

On Wed, 19 Feb 2020, 11:54 TartanLeGrand, [email protected] wrote:

I tried to release Neutronium SPA DEMO, but when I want to create an installer with Squirrel and I install it I have nothing that launches.

Is there a particular installation strategy?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/NeutroniumCore/Neutronium/issues/136?email_source=notifications&email_token=AAH6HSB5YWW7XLSA2LKQV6TRDT6WVA5CNFSM4KXVWWJ2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IOSRPGQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAH6HSEG6LCN35PYMWJRVMTRDT6WVANCNFSM4KXVWWJQ .

jmecosta avatar Feb 19 '20 15:02 jmecosta

Thanks @jmecosta, but I checked this configuration and it didn't work...

Here is my nuspec file :

<?xml version="1.0"?>
<package >
  <metadata>
    <id>Tests</id>
    <version>1.0.0</version>
    <authors>Me</authors>
    <owners>Me</owners>
    <description>HelloWorld - Squirrel</description>
    <releaseNotes>Initial release.</releaseNotes>
    <copyright>Copyright ©  2017</copyright>
  </metadata>
  <files>
    <file src="Neutronium.SPA.Demo\bin\Release\*.*" target="lib\net45\" exclude="*.pdb;*.vshost.*"/>
  </files>
</package>

Squirrel installs 2 applications for me: Neutronium and ChromiumFXRenderProcess. Neither of them launch the application.

TartanLeGrand avatar Feb 20 '20 11:02 TartanLeGrand

U need to add to the assemblyinfo.cs that only your app should be launched/create shortcuts.

I can provide and example next week, if u havent figure it out by the

On Thu, 20 Feb 2020, 13:01 TartanLeGrand, [email protected] wrote:

Thanks @jmecosta https://github.com/jmecosta, but I checked this configuration and it didn't work...

Here is my nuspec file :

<id>Tests</id>

<version>1.0.0</version>

<authors>Me</authors>

<owners>Me</owners>

<description>HelloWorld - Squirrel</description>

<releaseNotes>Initial release.</releaseNotes>

<copyright>Copyright ©  2017</copyright>
<file src="Neutronium.SPA.Demo\bin\Release\*.*" target="lib\net45\" exclude="*.pdb;*.vshost.*"/>

Squirrel installs 2 applications for me: Neutronium and ChromiumFXRenderProcess. Neither of them launch the application.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/NeutroniumCore/Neutronium/issues/136?email_source=notifications&email_token=AAH6HSFJNHGJY2LIAZYR52DRDZPKFA5CNFSM4KXVWWJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMNN4IQ#issuecomment-588963362, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAH6HSEVIYXZOJVKP6WRLFDRDZPKFANCNFSM4KXVWWJQ .

jmecosta avatar Feb 20 '20 12:02 jmecosta

@TartanLeGrand you need the Neutronium and ChromiumFXRenderProcess exe to be installed in the same directory because when launched Neutronium application will try to launch ChromiumFXRenderProcess.

When ChromiumFXRenderProcess is not found everything may fail silently unefortunatelly.

David-Desmaisons avatar Feb 20 '20 13:02 David-Desmaisons

@David-Desmaisons after installing with the squirrel. My folder contains the 2 exe neutronium App & ChromiumFXRenderProcess.

TartanLeGrand avatar Feb 20 '20 13:02 TartanLeGrand

Did you try to use Clickonce and compare the output with the one you get from squirel?

David-Desmaisons avatar Feb 20 '20 13:02 David-Desmaisons

It's work with Clickonce... I compared the files. Clickonce's structure is very different from Squirrel's. But the files are pretty much the same. Only the manifest files are added to Clickonce.

TartanLeGrand avatar Feb 20 '20 14:02 TartanLeGrand

Hi @TartanLeGrand did you manage to solve this issue?

David-Desmaisons avatar Mar 29 '20 13:03 David-Desmaisons

Hi @David-Desmaisons , the last few tests I ran were not conclusive.

TartanLeGrand avatar Mar 31 '20 07:03 TartanLeGrand