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
Post a Comment