<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Automating CI/CD Installation on Test PC in Continuous Integration</title>
    <link>https://ni.lithium.com/t5/Continuous-Integration/Automating-CI-CD-Installation-on-Test-PC/m-p/3947829#M249</link>
    <description>&lt;P&gt;Solved - sorry, I have a bad habit of solving my own issues - but only after I've posted &lt;span class="lia-unicode-emoji" title=":face_with_tears_of_joy:"&gt;😂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't know why I didn't try this earlier, but you can install your own build applications in the same way you would install NI software via a batch file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;rem :: Silent: setup /q /AcceptLicenses yes
rem :: Basic: setup /qb /AcceptLicenses yes 
rem :: Basic Full: setup /qf /AcceptLicenses yes
rem :: ------------------------------------------------------
rem :: Suppress final reboot: /r, /r:n 
rem :: Force final reboot: /r:f
rem :: ------------------------------------------------------
rem :: example script:
"&amp;lt;path to installer exe" /qb /AcceptLicenses yes /r:f&lt;/PRE&gt;</description>
    <pubDate>Fri, 12 Jul 2019 10:08:21 GMT</pubDate>
    <dc:creator>McQuillan</dc:creator>
    <dc:date>2019-07-12T10:08:21Z</dc:date>
    <item>
      <title>Automating CI/CD Installation on Test PC</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/Automating-CI-CD-Installation-on-Test-PC/m-p/3947811#M248</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've got my CI server (Jenkins) set up nicely and it returns build executables and installers. Now I want to take it to the next level.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have another PC that is set up with barebones Windows 10, and I was wanting to automate installing the latest build onto this PC (ever on a successful Jenkins build, or nightly/weekly windows scheduled task). (So I can speed up user acceptance testing, and make sure the installed exe still works with all the connected hardware).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using the below command I'm able to uninstall the software&lt;/P&gt;
&lt;PRE&gt;rem :: this batch file must be run as an administrator
wmic product where name="&amp;lt;name of software&amp;gt;" call uninstall&lt;/PRE&gt;
&lt;P&gt;However, I've been unable to re-install a the msi installer (created from LabVIEW 2019 - via Jenkins).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've been trying variants of this with no success&lt;/P&gt;
&lt;PRE&gt;msiexec /i "&amp;lt;path of installer exe" /passive&lt;BR /&gt;rem :: "/passive" is used to show the user interface a progress bar, but have no user input.&lt;/PRE&gt;
&lt;P&gt;I thought it would be pretty straightforward, but I'm having no luck. Could someone point me in the right direction?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2019 09:22:58 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/Automating-CI-CD-Installation-on-Test-PC/m-p/3947811#M248</guid>
      <dc:creator>McQuillan</dc:creator>
      <dc:date>2019-07-12T09:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: Automating CI/CD Installation on Test PC</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/Automating-CI-CD-Installation-on-Test-PC/m-p/3947829#M249</link>
      <description>&lt;P&gt;Solved - sorry, I have a bad habit of solving my own issues - but only after I've posted &lt;span class="lia-unicode-emoji" title=":face_with_tears_of_joy:"&gt;😂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't know why I didn't try this earlier, but you can install your own build applications in the same way you would install NI software via a batch file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;rem :: Silent: setup /q /AcceptLicenses yes
rem :: Basic: setup /qb /AcceptLicenses yes 
rem :: Basic Full: setup /qf /AcceptLicenses yes
rem :: ------------------------------------------------------
rem :: Suppress final reboot: /r, /r:n 
rem :: Force final reboot: /r:f
rem :: ------------------------------------------------------
rem :: example script:
"&amp;lt;path to installer exe" /qb /AcceptLicenses yes /r:f&lt;/PRE&gt;</description>
      <pubDate>Fri, 12 Jul 2019 10:08:21 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/Automating-CI-CD-Installation-on-Test-PC/m-p/3947829#M249</guid>
      <dc:creator>McQuillan</dc:creator>
      <dc:date>2019-07-12T10:08:21Z</dc:date>
    </item>
  </channel>
</rss>

