Hello,

i made an simple installer for distributed installation of our 
software. It's necessary to write die IP of our application server in 
an txt-file, where the application reads it on first start. The 
"SERVERIP" ist passed to msiexec as an commandline-argument.

The following CustomAction does an great job on Windows-XP, but on 
Vista the File "adr.txt" is not generated:

        
<CustomAction Id="RunCmd" Directory="SystemFolder" Return="ignore"
      ExeCommand="cmd.exe /c echo.|set /p &quot;=IP:[SERVERIP]&quot;
      &gt; &quot; [MyFolderApplication]adr.txt&quot;"/>
<InstallExecuteSequence>
   <Custom Action="RunCmd" After="InstallFiles">REMOVE~=ALL</Custom>
</InstallExecuteSequence>


The linebreaks in CustomAction are only in this mail, in the xml-file 
where is no linebreak.


In the verbose-log i see that "RunCmd" is executed - on XP and Vista 
with RC 1 - and no error message. On XP we have the "adr.txt" after 
that, on vista we don't have.


Does someone have an idea why that happens?


regards,
Albert Scholl


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to