Skip to content

Commit

Permalink
Installer improvements
Browse files Browse the repository at this point in the history
- Default DEVICE is now 0;P-OTHER;80;999999999
- Run $$PKGPAT^XPDIP only for XX*n.n*nnn
  • Loading branch information
shabiel committed Jun 16, 2020
1 parent d2a69b9 commit 19193dc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Scripts/DefaultKIDSBuildInstaller.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class DefaultKIDSBuildInstaller(object):
"NO", False),
("Delay Install \(Minutes\): \(0\-60\):", "0", False),
("do you want to include disabled components\?", "NO", False),
("DEVICE:", None, True)
("DEVICE:", '0;P-OTHER;80;999999999', True)
]

""" A list of tuple, defined the action list corresponding to KIDS Build
Expand Down Expand Up @@ -517,8 +517,9 @@ def extraFixWork(self, vistATestClient):
(self._kidsInstallName))
connection = vistATestClient.getConnection()
# Luckily, the command just takes the patch information in order, ie "SD", "5.3", "701"
connection.write("W $$PKGPAT^XPDIP($$FIND1^DIC(9.4,,\"QXM\",\"%s\"),%s,\"%s^\"_$$NOW^XLFDT_\"^1\")" % tuple(self._kidsInstallName.split("*")))
connection.expect(vistATestClient._prompt, 30)
if "*" in self._kidsInstallName:
connection.write("W $$PKGPAT^XPDIP($$FIND1^DIC(9.4,,\"QXM\",\"%s\"),%s,\"%s^\"_$$NOW^XLFDT_\"^1\")" % tuple(self._kidsInstallName.split("*")))
connection.expect(vistATestClient._prompt, 30)

""" default action for Send Mail To option
please override or enhance it if more action is needed
Expand Down

0 comments on commit 19193dc

Please sign in to comment.