﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SmartCode Solutions Web Forum » SmartCode VNC Manager » General Discussion  » Msiexec problem</title><generator>InstantForum.NET 2010-4</generator><description>SmartCode Solutions Web Forum</description><link>http://www.s-code.com/forum/</link><webMaster>SmartCode Solutions Web Forum</webMaster><lastBuildDate>Wed, 08 Sep 2010 23:32:40 GMT</lastBuildDate><ttl>20</ttl><item><title>Msiexec problem</title><link>http://www.s-code.com/forum/FindPost1473.aspx</link><description>Hi,&lt;br&gt;&lt;br&gt;I've a Batch file (under Windows 2000 Professional) that I need to deploy.&lt;br&gt;&lt;br&gt;If I execute this Batch file manually on a client computer, everything is OK.&lt;br&gt;If I try to execute it from my computer to the remote client, the Batch file encounters problems...&lt;br&gt;&lt;br&gt;One of the jobs of this Batch file is to install an application with the MSIEXEC (Microsoft Windows Installer). When I execute the Batch file from my computer (VNC) to the remote client (The one I've tested the Batch on), the operation fails and terminates at the step to use the MSIEXEC.&lt;br&gt;&lt;br&gt;No error is shown, but the Batch file is no more executed and the progress bar is complete.&lt;br&gt;Could someone help me, please ?&lt;br&gt;&lt;br&gt;Thanks :)</description><pubDate>Thu, 14 Jun 2007 04:31:01 GMT</pubDate><dc:creator>Nyphel</dc:creator></item><item><title>RE: Msiexec problem</title><link>http://www.s-code.com/forum/FindPost1501.aspx</link><description>Héhé very good news !&lt;br&gt;I've tested it, and that works perfectly :P.</description><pubDate>Thu, 14 Jun 2007 04:31:01 GMT</pubDate><dc:creator>Nyphel</dc:creator></item><item><title>RE: Msiexec problem</title><link>http://www.s-code.com/forum/FindPost1500.aspx</link><description>Nyphel,&lt;BR&gt;I've good news for you. The hang bug has been fixed and the archive unrars just fine.&lt;/P&gt;&lt;P&gt;We have re-uploaded 3.6.20.0 with the fixed included. Since most probably you had installed .20.0 build before, you should uninstall it first and then install the fixed .20.0.&lt;/P&gt;&lt;P&gt;Thanks for your help with fixing the bugs!</description><pubDate>Thu, 14 Jun 2007 04:16:17 GMT</pubDate><dc:creator>Support (s-code)</dc:creator></item><item><title>RE: Msiexec problem</title><link>http://www.s-code.com/forum/FindPost1493.aspx</link><description>I'll try to send it, but I'm not sure that will possible... The archive is about 45MO :w00t:</description><pubDate>Wed, 13 Jun 2007 07:01:46 GMT</pubDate><dc:creator>Nyphel</dc:creator></item><item><title>RE: Msiexec problem</title><link>http://www.s-code.com/forum/FindPost1492.aspx</link><description>could you please send the archive to us so we could debug the problem here? I know you had sent the file before, but after fixing the support files bug we deleted the file and no longer have it.</description><pubDate>Wed, 13 Jun 2007 05:04:23 GMT</pubDate><dc:creator>Support (s-code)</dc:creator></item><item><title>RE: Msiexec problem</title><link>http://www.s-code.com/forum/FindPost1491.aspx</link><description>[quote]&lt;br&gt;So I've 3 stranges problems :&lt;br&gt;- The files are said uploaded but they aren't, or they're lost somewhere...&lt;br&gt;- The deployment "freeze" when I uncompress an archive with 7-zip comand line&lt;br&gt;- My Batch file is deployed in ADMIN$, but seems to be executed in ADMIN$/system32.&lt;br&gt;[/quote]&lt;br&gt;&lt;br&gt;With this new version of saertCode VNC Manager, my support files are perfectly upload ;) (even if the file is very big, like 50MO, or if there is an important number of small files).&lt;br&gt;&lt;br&gt;My Batch file is deployed in ADMIN$, but it still seems to be executed in ADMIN$/system32.&lt;br&gt;This is not Very problematic.&lt;br&gt;&lt;br&gt;The deployment "freezes" when I uncompress an archive file (7-zip, WinZip, Winrar, Alpha zip, ...) [b]only if the archive is too complex (lots of files, lots of directories, height about 7 sub-directories, ...)[/b]. In my tests, the first 40 small files are well uncompressed for an amount of 2.35MO. The next file, an application file that is about 5.15MO, isn't uncompressed and the deployment freezes. This file should be uncompressed in a new sub-directory that contains another sub-directory (Height + 2).&lt;br&gt;If I create another archive that contains only 4 files (even if 2 of thoses files are about 5.5MO), the 4 files are well uncompressed on the remote computer.&lt;br&gt;&lt;br&gt;I don't understand the problem.&lt;br&gt;Perhaps is it the number of files ?&lt;br&gt;Perhaps is it the height of the directory ?&lt;br&gt;Perhaps the access path becomes too long ? (But it doesn't seems to be that)</description><pubDate>Wed, 13 Jun 2007 04:43:54 GMT</pubDate><dc:creator>Nyphel</dc:creator></item><item><title>RE: Msiexec problem</title><link>http://www.s-code.com/forum/FindPost1488.aspx</link><description>I believe 3.6.20.0 has a fix for the issue reported in this thread.</description><pubDate>Wed, 13 Jun 2007 03:25:46 GMT</pubDate><dc:creator>Support (s-code)</dc:creator></item><item><title>RE: Msiexec problem</title><link>http://www.s-code.com/forum/FindPost1481.aspx</link><description>Could you send us the external tools config file: %USERPROFILE%\Application Data\Smart Code\VNC\Manager\external_tools.xml   as well as the msi file (and support files if any) so we could try to run them here?&lt;/P&gt;&lt;P&gt;At the moment we are a bit busy preparing ServerX release. But as soon we finished with the release we will start investigating the problem. The files could be send to &lt;A href="mailto:support@s-code.com"&gt;support@s-code.com&lt;/A&gt;</description><pubDate>Fri, 01 Jun 2007 07:11:22 GMT</pubDate><dc:creator>Support (s-code)</dc:creator></item><item><title>RE: Msiexec problem</title><link>http://www.s-code.com/forum/FindPost1480.aspx</link><description>It's so strange...&lt;br&gt;&lt;br&gt;I've prependes my Btach file with &lt;br&gt;[quote]&lt;br&gt;echo Repertoire courant : %CD%&lt;br&gt;chdir ..&lt;br&gt;echo Repertoire courant : %CD%[/quote]&lt;br&gt;The %CD% variable holds the current directory.&lt;br&gt;&lt;br&gt;[u][b]So here is my Batch file :[/b][/u]&lt;br&gt;[quote]&lt;br&gt;echo Repertoire courant : %CD%&lt;br&gt;chdir ..&lt;br&gt;echo Repertoire courant : %CD%&lt;br&gt;:: 7za x veilleur.7z -y  -- COMMENTED&lt;br&gt;msiexec /i "Installeur Veilleur de messagerie\Veilleur de messagerie.msi" ALLUSERS=1 /qn&lt;br&gt;&lt;br&gt;echo.&lt;br&gt;IF exist "7za.exe" echo FICHIER {7za.exe} YES&lt;br&gt;IF NOT exist "7za.exe" echo FICHIER {7za.exe} NO !&lt;br&gt;&lt;br&gt;echo.&lt;br&gt;IF exist "veilleur.7z" echo FICHIER {veilleur.7z} YES&lt;br&gt;IF NOT exist "veilleur.7z" echo FICHIER {veilleur.7z} NO !&lt;br&gt;&lt;br&gt;echo.&lt;br&gt;IF exist "Installeur Veilleur de messagerie\Veilleur de messagerie.msi" echo FICHIER {msi} YES&lt;br&gt;IF NOT exist "Installeur Veilleur de messagerie\Veilleur de messagerie.msi" echo FICHIER {msi} NO !&lt;br&gt;&lt;br&gt;echo.&lt;br&gt;IF exist "system32/7za.exe" echo FICHIER {system32/7za.exe} YES&lt;br&gt;IF NOT exist "system32/7za.exe" echo FICHIER {system32/7za.exe} NO !&lt;br&gt;&lt;br&gt;echo.&lt;br&gt;IF exist "system32/veilleur.7z" echo FICHIER {system32/veilleur.7z} YES&lt;br&gt;IF NOT exist "system32/veilleur.7z" echo FICHIER {system32/veilleur.7z} NO !&lt;br&gt;&lt;br&gt;echo.&lt;br&gt;IF exist "system32/Installeur Veilleur de messagerie\Veilleur de messagerie.msi" echo FICHIER {system32/msi} YES&lt;br&gt;IF NOT exist "system32/Installeur Veilleur de messagerie\Veilleur de messagerie.msi" echo FICHIER {system32/msi} NO !&lt;br&gt;[/quote]&lt;br&gt;&lt;br&gt;[u][b]And here is the output :[/b][/u]&lt;br&gt;[quote]&lt;br&gt;------------------------------------------------------------&lt;br&gt;Computer address: GUILLAUME_GARCI&lt;br&gt;------------------------------------------------------------&lt;br&gt;    Retrieving a local path for the share: ADMIN$&lt;br&gt;        C:\WINNT\&lt;br&gt;    Opening network share: \\GUILLAUME_GARCI\ADMIN$&lt;br&gt;        Return code: 0&lt;br&gt;    Uploading executable file: D:\INSTALLEURS\veilleur.bat&lt;br&gt;    Uploading support files.&lt;br&gt;        7za.exe  -  OK&lt;br&gt;        veilleur.7z  -  OK&lt;br&gt;    Executing remote command. Please wait...&lt;br&gt;&lt;br&gt;COMMAND OUTPUT BEGIN----------------------------------------&lt;br&gt;&lt;br&gt;Connecting to remote service ... Ok&lt;br&gt;&lt;br&gt;Repertoire courant : C:\WINNT\system32&lt;br&gt;Repertoire courant : C:\WINNT&lt;br&gt;&lt;br&gt;Extraction des ressources en cours...&lt;br&gt;&lt;br&gt;FICHIER {7za.exe} NO !&lt;br&gt;&lt;br&gt;FICHIER {veilleur.7z} NO !&lt;br&gt;&lt;br&gt;FICHIER {msi} NO !&lt;br&gt;&lt;br&gt;FICHIER {system32/7za.exe} NO !&lt;br&gt;&lt;br&gt;FICHIER {system32/veilleur.7z} NO !&lt;br&gt;&lt;br&gt;FICHIER {system32/msi} NO !&lt;br&gt;[/quote]&lt;br&gt;&lt;br&gt;Like you can see, my Batc script is deployed in C:\WINNT.&lt;br&gt;When is is executed, it is from C:\WINNT\system32&lt;br&gt;And the ressources theoricaly uploaded aren't in C:\WINNT... And they aren't in C:\WINNT\system32.&lt;br&gt;&lt;br&gt;[b][u]So I've 3 stranges problems :[/u][/b]&lt;br&gt;- The files are said uploaded but they aren't, or they're lost somewhere...&lt;br&gt;- The deployment "freeze" when I uncompress an archive with 7-zip comand line&lt;br&gt;- My Batch file is deployed in ADMIN$, but seems to be executed in ADMIN$/system32.&lt;br&gt;&lt;br&gt;If someone has an idea... Or at least an explication ? :D&lt;br&gt;&lt;br&gt;Thanks for your help.</description><pubDate>Thu, 31 May 2007 10:21:40 GMT</pubDate><dc:creator>Nyphel</dc:creator></item><item><title>RE: Msiexec problem</title><link>http://www.s-code.com/forum/FindPost1479.aspx</link><description>[b]Here is my Batch file :[u][/u][/b]&lt;br&gt;[quote]&lt;br&gt;7za x veilleur.7z -y&lt;br&gt;msiexec /i "Installeur Veilleur de messagerie\Veilleur de messagerie.msi" ALLUSERS=1 /qn&lt;br&gt;[/quote]&lt;br&gt;&lt;br&gt;Like you can see it, I'm french ;)&lt;br&gt;&lt;br&gt;[b]7za[u][/u][/b] stands for 7-zip command line : it allows me to compress/uncompress archives (.7z, .zip, ...) without user interaction (no gui, no pause, no questions, ...).&lt;br&gt;x : for uncompress&lt;br&gt;-y : for answering "yes" to all questions (would you like to replace the old files ?, etc.)&lt;br&gt;The archive in question (veilleur.7z) contains 2 directories, used by my Windows Installer (.msi).&lt;br&gt;&lt;br&gt;[b]msiexec[u][/u][/b] is the Microsoft Installer, used in order to install my application.&lt;br&gt;/i : for install&lt;br&gt;/qn : no user interface&lt;br&gt;&lt;br&gt;I certainly do something bad, because I've found that only my Batch file is uploaded on the client. The output panel says me that the [u]7za.exe[/u] and the [u]veilleur.7z[/u] were uploaded too, but they aren't... (I'had a look to the script editor and unchecked the options for deleting files after script execution).&lt;br&gt;So, if my archive isn't uploaded, it can't be uncompressed.&lt;br&gt;So, if my archive isn't uncompressed, the msiexec can't be performed.&lt;br&gt;So, If I can resolve this problem, everythig should be good...&lt;br&gt;&lt;br&gt;Or not ! :crazy:&lt;br&gt;I took a USB-key and copied manually the file on the remote client (in C:\WINNT, that is the ADMIN$ directory used by smartCode when deploying on this remote computer) and I've relauchend the deployment...&lt;br&gt;Here is the output :&lt;br&gt;[quote]&lt;br&gt;------------------------------------------------------------&lt;br&gt;Computer address: GUILLAUME_GARCI&lt;br&gt;------------------------------------------------------------&lt;br&gt;    Retrieving a local path for the share: ADMIN$&lt;br&gt;        C:\WINNT\&lt;br&gt;    Opening network share: \\GUILLAUME_GARCI\ADMIN$&lt;br&gt;        Return code: 0&lt;br&gt;    Uploading executable file: D:\INSTALLEURS\veilleur.bat&lt;br&gt;    Uploading support files.&lt;br&gt;        7za.exe  -  OK&lt;br&gt;        veilleur.7z  -  OK&lt;br&gt;    Executing remote command. Please wait...&lt;br&gt;[/quote]&lt;br&gt;And the deploying output freeze at this point. &lt;br&gt;If I comment the 7-zip uncompress step, the script fails (cause he can't install the .msi).&lt;br&gt;&lt;br&gt;Perhaps should I try with another compressor ?&lt;br&gt;Yes... But I need a quiet deployment. WinZip, WinRar, AlphaZip don't understand command line tasks.&lt;br&gt;&lt;br&gt;Perhaps should I make auto-uncompressing archives ?&lt;br&gt;Yes... But I need a quiet deployment. WinZip, WinRar, AlphaZip and 7-zip use graphical user interfaces and want the user to answer questions before unpacking the archive.&lt;br&gt;&lt;br&gt;Certainly there is something wrong in my method... But I've followed the help documentation and I've searched on the net... Without success.</description><pubDate>Thu, 31 May 2007 09:01:11 GMT</pubDate><dc:creator>Nyphel</dc:creator></item><item><title>RE: Msiexec problem</title><link>http://www.s-code.com/forum/FindPost1478.aspx</link><description>Let us know about outcome of your experiments and whatever you were able or not to run msiexec successfully.</description><pubDate>Thu, 31 May 2007 06:43:29 GMT</pubDate><dc:creator>Support (s-code)</dc:creator></item><item><title>RE: Msiexec problem</title><link>http://www.s-code.com/forum/FindPost1477.aspx</link><description>I've pointed the problem : in reality it's not MSIEXEC that cause the deployment to fail, it's the uncompressing step before the MSIEXEC step. &lt;br&gt;&lt;br&gt;I upload a 7-zip archive with my Batch script, that contains the files and directories for the MSIEXEC installation. In order to be sure that 7-zip is accessible from the script, I upload the 7za.exe too... (7-zip for command line).&lt;br&gt;&lt;br&gt;In fact, it seems that my files aren't uncompressed like they should be. I test the existantce of my .msi installer with some [u][i]IF EXISTS "my_installer.msi"[/i][/u], and the output says me that the file doesn't exists :D&lt;br&gt;&lt;br&gt;Thanks for your help, I'll see what can I do.</description><pubDate>Thu, 31 May 2007 05:38:48 GMT</pubDate><dc:creator>Nyphel</dc:creator></item><item><title>RE: Msiexec problem</title><link>http://www.s-code.com/forum/FindPost1476.aspx</link><description>[quote]msiexec /i "Installeur Veilleur de messagerie\Veilleur de messagerie.msi" ALLUSERS=1 /qn[/quote]&lt;br&gt;&lt;br&gt;/i = Install the product&lt;br&gt;/qn = No user interface&lt;br&gt;&lt;br&gt;Perhaps should I test with the /quiet option too...</description><pubDate>Thu, 31 May 2007 03:19:30 GMT</pubDate><dc:creator>Nyphel</dc:creator></item><item><title>RE: Msiexec problem</title><link>http://www.s-code.com/forum/FindPost1474.aspx</link><description>In its current implementation the Remote Exec feature is unable to run desktop interactive processes (support for interactive processes is going to be available in v4.0). I suspect that msiexec could be failing for this reason. To workaround this problem you might try to run msiexec in the silent mode, so it won't try to create any UI.</description><pubDate>Wed, 30 May 2007 11:14:48 GMT</pubDate><dc:creator>Support (s-code)</dc:creator></item></channel></rss>