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

Add support for Nsis version 3.08. #16

Merged

Conversation

mboulom
Copy link

@mboulom mboulom commented Oct 21, 2021

Don't really know what I am doing.
Need Nsis version 3.08 for added support for !uninstfinalize
Please help.

@JacobIpsen
Copy link

Plan for Commit ?

@mboulom mboulom closed this Mar 28, 2022
@mboulom mboulom reopened this Mar 28, 2022
Copy link
Author

@mboulom mboulom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please review ? Not planning any additional changes.

Copy link

@JacobIpsen JacobIpsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All looks fine, the zip contains the correct version, in the same structure as orginal :)

Copy link

@JacobIpsen JacobIpsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not shure this will work, just tryed deployinf the zip to our production env.
and seems like the path needs to be changed for the nsis-3.08 to work

Not shure but think it is in the ps1 file

@development-bizeta-mestre
Copy link
Owner

We will look into it this week. This will most likely be in a version 3 of the task to ensure we don't break existing pipelines..

@JacobIpsen
Copy link

We will look into it this week. This will most likely be in a version 3 of the task to ensure we don't break existing pipelines..

Super cool, if u need help testing i am glad to lend a hand :)

Julien Bessede added 2 commits March 30, 2022 22:01
The intent of making of having a version 3 is to ensure we don't break existing pipelines still using version nsis-3.03 on version 2
@development-bizeta-mestre development-bizeta-mestre merged commit 96ae166 into development-bizeta-mestre:master Mar 30, 2022
@development-bizeta-mestre
Copy link
Owner

development-bizeta-mestre commented Mar 30, 2022

@JacobIpsen, @mboulom I've merged and released the new version 3.0.0 of the task (ps: don't forget to change version 3 on your yaml pipeline) .

I don't have the path issue you mentioned regarding finding the makensis.exe... but I do have something that doesn't seem to work well.

  1. I think for starter that I have to set a working directory when invoing the vstsTool task
    $workingDir = Split-Path -Path $scriptFile;
    Invoke-VstsTool -WorkingDirectory $workingDir -FileName $nsis3Exe -Arguments $arguments -RequireExitCodeZero
  1. Then some of the parameters I pass to my script doesn't seem to be loaded. I have a /DDISTDIR="$(Build.BinariesDirectory)\my-output-path" parameter that I force but it doesn't seem to be passed correctly to my nsi script, because it doesn't seem to find it there.

I'll investigate further tomorrow. In the meantime give it a spin and let me know what you think.

@mboulom mboulom deleted the nsis-3.08 branch May 10, 2022 01:05
@development-bizeta-mestre
Copy link
Owner

Ok the arguments are passed ok now ( This is related to the issue #18 )

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

Successfully merging this pull request may close these issues.

4 participants