瀏覽代碼

Cleanup of exports

pull/8/head
Daniel Covington 6 月之前
父節點
當前提交
3bef0b37e0
共有 3 個文件被更改,包括 15 次插入4 次删除
  1. +0
    -2
      App/Controllers/Kit/KitController.asp
  2. +14
    -1
      CiCd/deploy.vbs
  3. +1
    -1
      ImportService/TrackingDataImport.vbs

+ 0
- 2
App/Controllers/Kit/KitController.asp 查看文件

@@ -191,8 +191,6 @@ Class KitController
Response.BinaryWrite objStream.Read
objStream.Close
Set objStream = Nothing

End If
End Sub



+ 14
- 1
CiCd/deploy.vbs 查看文件

@@ -23,8 +23,21 @@ Debug.WriteLine ScriptDirectory & "PsExec64.exe -i \\" & DeployMachine & " -u nt
"nircmd.exe elevatecmd runassystem C:\Windows\System32\inetsrv\appcmd.exe stop site /site.name:tracking & " & _
"copy /Y """ & transferFolder & "\zzip.zip"" " & """" & remoteDeployPath & "\zip.zip""" & " & tar -xf ""C:\inetpub\tracking\zip.zip"" -C ""C:\inetpub\tracking"" & exit"

'WshShell.Run ScriptDirectory & "PsExec64.exe -i \\" & DeployMachine & " -u ntp\daniel_admin -p BarkHornSlam4* cmd.exe /C " & _
'"echo ""stopping app pool"" & " & _

'WshShell.Run ScriptDirectory & "PsExec64.exe -i \\" & DeployMachine & " -u ntp\daniel_admin -p BarkHornSlam4* ""nircmd.exe"" elevatecmd runassystem ""C:\Windows\System32\inetsrv\appcmd.exe"" stop apppool /apppool.name:tracking

'"nircmd.exe elevatecmd runassystem ""C:\Windows\System32\inetsrv\appcmd.exe"" stop apppool /apppool.name:tracking & " & _
'"echo ""stopping site"" & " & _
'"nircmd.exe elevatecmd runassystem ""C:\Windows\System32\inetsrv\appcmd.exe"" stop site /site.name:tracking & " & _
'"echo ""removing files"" & " & _
'"nircmd.exe elevatecmd runassystem ""powershell"" Get-ChildItem -Path 'C:\inetpub\tracking\' -File -Recurse -Force | Remove-Item -WhatIf" & _

WshShell.Run ScriptDirectory & "PsExec64.exe -i \\" & DeployMachine & " -u ntp\daniel_admin -p BarkHornSlam4* cmd.exe /C " & _
"copy /Y """ & transferFolder & "\zzip.zip"" " & """" & remoteDeployPath & "\zip.zip""" & " & tar -xf ""C:\inetpub\tracking\zip.zip"" -C ""C:\inetpub\tracking"" & exit",1,True
"copy /Y """ & transferFolder & "\zzip.zip"" " & """" & remoteDeployPath & "\zip.zip""" & _
" & tar -xf ""C:\inetpub\tracking\zip.zip"" -C ""C:\inetpub\tracking"" & exit" _
,1,True


'WshShell.Run ScriptDirectory & "PsExec64.exe -i \\" & DeployMachine & " -u ntp\daniel_admin -p BarkHornSlam4* " &_


+ 1
- 1
ImportService/TrackingDataImport.vbs 查看文件

@@ -104,7 +104,7 @@ Dim row:row = 0
objInkjetCSV.SetCellByName row,"Address 2",AddressArray(2)
objInkjetCSV.SetCellByName row,"Address 3",AddressArray(3)
objInkjetCSV.SetCellByName row,"Address 4",AddressArray(4)
objInkJetCSV.SetCellByName row,"IM barcode Characters",KitLabelsRs("OutboundIMBDigits").Value
objInkJetCSV.SetCellByName row,"IM barcode Characters","*" & KitLabelsRs("OutboundIMBDigits").Value & "*"
objInkJetCSV.SetCellByName row,"Precinct",KitLabelsRs("PRECINCT").Value
objInkJetCSV.SetCellByName row,"Ballot ID",KitLabelsRs("VOTERID").Value
objInkJetCSV.SetCellByName row,"Ballot Number",TrimLeadingZeros(KitLabelsRs("BALLOT_NUMBER").Value)


Loading…
取消
儲存

Powered by TurnKey Linux.