Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MSI : Incorrect path to Deployment directory in Registry #1707

Open
vernou opened this issue Mar 8, 2021 · 2 comments
Open

MSI : Incorrect path to Deployment directory in Registry #1707

vernou opened this issue Mar 8, 2021 · 2 comments

Comments

@vernou
Copy link

vernou commented Mar 8, 2021

Squirrel version(s)
2.0.1

Description
After installing the MSI, when a user logs on, nothing happens.

See the

Steps to recreate

  1. Generate MSI with Squirrel --releasify
  2. Install MSI
  3. Log on

Expected behavior
When log on, the installation begin.

Actual behavior
When log on, nothing happens.

Additional information
After installation, the registry entry's command is :

"C:\Program Files (x86)\ Deployment\MyAppDeploymentTool.exe" --checkInstall

See the space in the folder Deployment. When I manually correct (remove the space) the registry entry, the installation begin.

Maybe this come from :

<Directory Id="APPLICATIONROOTDIRECTORY" Name="{{Title}} Deployment" />

The APPLICATIONROOTDIRECTORY need a title, but this isn't provided. In this case, the MSI create the registry entry and the folder with a space. But maybe Windows remove space at the start of repository folder and the registry entry don't match the renamed folder.

@vernou
Copy link
Author

vernou commented Mar 8, 2021

Solved. The title attribute in the nuspec file was empty.

Originally posted by @MiroljubA in #466 (comment)

As this comment suggests , I miss the title in nuspec. After added this work as expected.

@vernou
Copy link
Author

vernou commented Mar 8, 2021

To avoid this problem in the future, a warning in case of absence would be nice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant