<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
I have found my problem with debug output :<br>
First : <br>
Batch is ******, so If there is multiline if with parenthesis, batch
bug, see <a
 href="http://stackoverflow.com/questions/430376/batch-files-vista-x64-if-and-parenthesis">http://stackoverflow.com/questions/430376/batch-files-vista-x64-if-and-parenthesis</a>,interestong
;-)<br>
<br>
So i have modified unattended as it :<br>
SETLOCAL enableextensions enabledelayedexpansion<br>
And change all %CMD64% by !CMD64!.<br>
<br>
After that i have an another prob, when i use customuninstaller, i
can't use "installer-location" parameter because it depends on system
(64b or 32b), so i have to disable it, for the moment i have modified
in :customuninstaller<br>
<br>
<br>
start /wait "Software uninstallation" /D"%INSTALLER_PATH%"
"%INSTALL_CMD%" %OPTIONS%<br>
<br>
by <br>
<br>
start /wait "Software uninstallation" "%INSTALL_CMD%" %OPTIONS%<br>
<br>
Do you have better idea?<br>
<br>
For the moment it works for one package, asap i'll try other.<br>
<br>
Thanks<br>
<br>
<br>
<br>
<br>
On 20/11/2010 18:14, Daniel Dehennin wrote:
<blockquote cite="mid:87eiafhq7p.fsf@skoll.in.ac-caen.fr" type="cite">
  <pre wrap="">zorgman <a class="moz-txt-link-rfc2396E" href="mailto:zorg@probesys.com"><zorg@probesys.com></a> writes:

  </pre>
  <blockquote type="cite">
    <pre wrap="">I'm trying unattended.cmd, all works like a charm when
CMD64=%PROGRAMFILES%SOFT, but if it's %PROGRAMFILES(x86)%SOFT, i have
an error :
install.cmd run this :
    </pre>
  </blockquote>
  <pre wrap="">
install.cmd or remove.cmd?

  </pre>
  <blockquote type="cite">
    <pre wrap="">C:\Users\Administrateur\Desktop\gajim>unattended.cmd customuninstall
"C:\Program Files\Gajim\Uninstall.exe" "C:\Program Files
(x86)\Gajim\Uninstall.exe" "" "/S
64-bit system detected.
\Gajim\Uninstall.exe était inattendu. <= sorry it's french (= was
unexpected)[1]
    </pre>
  </blockquote>
  <pre wrap="">
I must admit that I haven't tested on 64 bits systems.

In the above output, it seems a final quote is missing :-/

Can you:

- remove the "@echo off" in remove.cmd _and_ unattended.cmd
- run remove.cmd > remove.log

Send the log output?

  </pre>
  <blockquote type="cite">
    <pre wrap="">I'm not good in Batch so maybe someone can help me? unattend.cmd seems
doesn't like (x86)?
    </pre>
  </blockquote>
  <pre wrap="">
The log output can say more...

Thanks.

Footnotes: 
[1]  Not a problem, I'm french ;-)

[2]  As it call uninstall I assume it's a remove.cmd

  </pre>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
-------------------------------------------------------------------------
wpkg-users mailing list archives >> <a class="moz-txt-link-freetext" href="http://lists.wpkg.org/pipermail/wpkg-users/">http://lists.wpkg.org/pipermail/wpkg-users/</a>
_______________________________________________
wpkg-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:wpkg-users@lists.wpkg.org">wpkg-users@lists.wpkg.org</a>
<a class="moz-txt-link-freetext" href="http://lists.wpkg.org/mailman/listinfo/wpkg-users">http://lists.wpkg.org/mailman/listinfo/wpkg-users</a>
  </pre>
</blockquote>
<br>
</body>
</html>