Go Back   Winamp & SHOUTcast Forums > Search Forums

Showing results 1 to 15 of 15
Search took 0.00 seconds.
Search: Posts Made By: alexmitev
Forum: NSIS Discussion 8th March 2017, 15:53
Replies: 0
Views: 568
Posted By alexmitev
Post NsisMultiUser plugin

Hello to the community!

Recently I spent some time improving Ricardo Drizin's NsisMultiUser plugin (https://github.com/Drizin/NsisMultiUser), which extends the original MultiUser plugin included...
Forum: NSIS Discussion 27th February 2017, 11:29
Replies: 6
Views: 1,189
Posted By alexmitev
I don't see a reason to change the ExecShell...

I don't see a reason to change the ExecShell implementation. You said there is going to be a new function ExecShellWait. I don't think it will call ExecShell or rely on its implementation.
Forum: NSIS Discussion 25th February 2017, 08:32
Replies: 6
Views: 1,189
Posted By alexmitev
Thank you for your reply, Anders. I think...

Thank you for your reply, Anders.

I think ExecWait now calls CreateProcess + WaitForSingleObject, or I am wrong?
We don't have to change it.
If we add the new instruction ExecShellWait, it...
Forum: NSIS Discussion 24th February 2017, 13:25
Replies: 6
Views: 1,189
Posted By alexmitev
Well, if I'm running third party application,...

Well, if I'm running third party application, there is no way of knowing if it will need elevation. Even if I'm running my own uninstaller, the elevation requirements might change between versions....
Forum: NSIS Discussion 24th February 2017, 10:48
Replies: 6
Views: 1,189
Posted By alexmitev
ExecWait fails if RequestExecutionLevel user and new process requires elevation

Hello,
I have an issue using Exec/Exec wait from a script that sets RequestExecutionLevel user and new process requires elevation. Sample code:

RequestExecutionLevel user
ExecWait...
Forum: NSIS Discussion 21st February 2017, 14:18
Replies: 0
Views: 584
Posted By alexmitev
Page Mismatch in UMUI Maintenance.nsi example

Hello,
I found a bug with page ordering in the UMUI Maintenance.nsi example.
Reproduce:
on Maintenance page, click Remove, then in Uninstaller hit Back
Now, whichever option you select in...
Forum: NSIS Discussion 20th February 2017, 15:30
Replies: 3
Views: 920
Posted By alexmitev
I see in general !define UMUI_XPSTYLE on ...

I see in general
!define UMUI_XPSTYLE on
causes some issues with font color for radio buttons, group box and check box controls:

https://s1.postimg.org/v9h26ajtr/Untitled2.png
...
Forum: NSIS Discussion 20th February 2017, 10:12
Replies: 3
Views: 920
Posted By alexmitev
OK, I think I found the solution: !define...

OK, I think I found the solution:

!define UMUI_NO_BUTTONIMAGE
!define UMUI_XPSTYLE on


It's not very pretty, because it adds 1px gray border around buttons:
...
Forum: NSIS Discussion 19th February 2017, 16:26
Replies: 3
Views: 920
Posted By alexmitev
Display shield on Next button in Ultra Modern UI

Hello,
In MUI it is possible to display the Windows shield on the Next button with the following code:

GetDlgItem $1 $hwndParent 1 ;
SendMessage $1 ${BCM_SETSHIELD} 0 1

I see in Ultra...
Forum: NSIS Discussion 19th February 2017, 15:41
Replies: 1
Views: 705
Posted By alexmitev
Ultra Modern UI modifies shell var context

Hello,
I noticed the use of the Ultra Modern UI causes modification of the shell var context that I've set. Minimal reproduce program:


!include UMUI.nsh

OutFile "produce.exe"
...
Forum: NSIS Discussion 16th February 2017, 20:42
Replies: 1
Views: 721
Posted By alexmitev
Get actual error code if ExecWait fails?

Hello,
I am interested in getting the actual Windows error code if ExecWait fails. In the docs it is said "ExecWait sets the error flag if an error occurs". As far as I can see, the error flag has 2...
Forum: NSIS Discussion 10th February 2017, 21:47
Replies: 7
Views: 1,258
Posted By alexmitev
Yes, this will only affect return codes by...

Yes, this will only affect return codes by (un)installer for silent installs that rely on them.
Is it possible that you post to this thread when the changes get done, so that I know to update my...
Forum: NSIS Discussion 10th February 2017, 20:18
Replies: 7
Views: 1,258
Posted By alexmitev
Does it mean that when the bug is fixed, it won't...

Does it mean that when the bug is fixed, it won't be possible to clear the error level?
I'm creating a plugin and would like my code to be compatible with future versions of NSIS. Maybe you should...
Forum: NSIS Discussion 10th February 2017, 16:29
Replies: 7
Views: 1,258
Posted By alexmitev
Thank you, Anders, this worked! Maybe the value...

Thank you, Anders, this worked!
Maybe the value of -1 should be added to the docs for SetErrorLevel

Regards,
Alex
Forum: NSIS Discussion 10th February 2017, 11:46
Replies: 7
Views: 1,258
Posted By alexmitev
Clear error level set by SetErrorLevel?

Hello,
(this is my first post here)
I'm using the UAC plugin to elevate an inner instance in the installer.
As documented, the UAC plugin calls SetErrorLevel to whatever the result from the inner...
Showing results 1 to 15 of 15

 
Forum Jump