ssl - NSIS powershell freezes installer -


i nedd add ssl certificate https binding in iis inside nsis installer. inside powershell command works perfectly:

get-childitem -path cert:\localmachine\my | where-object {$_.subject -eq 'cn=win2012'} | new-item 0.0.0.0!44334 

but nsis installer freezes when reach script. i've tryed diffrent execution methods:

1) discribed in article

 ${powershellexec} "get-childitem -path cert:\localmachine\my | where-object {$_.subject -eq 'cn=win2012'} | new-item 0.0.0.0!44334" 

2)

nsexec::exectostack 'powershell -command "get-childitem -path cert:\localmachine\my | where-object {$_.subject -eq \"cn=win2012\"} | new-item 0.0.0.0!44334"' 

where problem? other powershell scripts works great.


Comments

Popular posts from this blog

angular - Is it possible to get native element for formControl? -

unity3d - Rotate an object to face an opposite direction -

javascript - Why jQuery Select box change event is now working? -