Skip to content

Commit

Permalink
Merge pull request #66 from vrozenfe/work
Browse files Browse the repository at this point in the history
fix EOL in VBScript Custom Action
  • Loading branch information
vrozenfe authored Aug 7, 2024
2 parents b28cce0 + d0db924 commit 25f5dd2
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions virtio-win-drivers-installer/properties.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -87,15 +87,15 @@
Id="CA_RestoreIPConfig" Script="vbscript"
Impersonate="no" Execute="deferred">
<![CDATA[
Dim wsShell
Set wsShell = CreateObject("WScript.shell")
Dim nmFile
nmFile = Session.Property("CustomActionData")
Dim fsObj
Set fsObj = CreateObject("Scripting.FileSystemObject")
If fsObj.FileExists(nmFile) Then
wsShell.run "cmd /c netsh exec " & Chr(34) & nmFile & Chr(34), 1, TRUE
End If
Dim wsShell
Set wsShell = CreateObject("WScript.shell")
Dim nmFile
nmFile = Session.Property("CustomActionData")
Dim fsObj
Set fsObj = CreateObject("Scripting.FileSystemObject")
If fsObj.FileExists(nmFile) Then
wsShell.run "cmd /c netsh exec " & Chr(34) & nmFile & Chr(34), 1, TRUE
End If
]]>
</CustomAction>
<CustomAction
Expand Down

0 comments on commit 25f5dd2

Please sign in to comment.