<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3314" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV> </DIV><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> wpkg-users-bounces@lists.wpkg.org
[mailto:wpkg-users-bounces@lists.wpkg.org] <B>On Behalf Of </B>Tor
Soerensen<BR><B>Sent:</B> Friday, April 11, 2008 3:21 PM<BR><B>To:</B>
wpkg-users@lists.wpkg.org<BR><B>Subject:</B> [wpkg-users] Danish characters in
package definitions<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>Dear list members,</DIV>
<DIV>I have run into a small problem when writing a package file. WSH
complains of invalid characters in the file (see below). I am guessing that it
doesn't like the danish character in the remove command. Any way to work
around this?</DIV>
<DIV>Regards,</DIV>
<DIV>Tor Sorensen</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><?xml version="1.0"
encoding="UTF-8"?><BR><packages><BR><!-- This package definition
was made in order to remove Microsoft Office 2007 Trial that is preinstalled
on some laptops --><BR><package id="office2007"
name="Microsoft Office 2007 System" revision="432" reboot="false"
priority="0"><BR> <check type="uninstall"
condition="exists" path="2007 Microsoft Office system"
/><BR> <remove cmd='"C:\\Programmer\\Fælles
filer\\Microsoft Shared\\OFFICE12\\Office Setup Controller\\setup.exe"
/uninstall PROHYBRIDR /dll OSETUP.DLL'><BR>
</remove><BR></package></DIV>
<DIV> </DIV>
<DIV></packages></DIV>
<DIV> </DIV></BLOCKQUOTE>
<DIV dir=ltr> </DIV>
<DIV dir=ltr>
<DIV dir=ltr><SPAN class=483520514-11042008>Hi, I have encountered this as well.
It happens when you save the file with "nordic" characters as ANSI instead of
unicode. Please try to save it as unicode instead, and the error essages should
disappear.</SPAN></DIV>
<DIV dir=ltr><SPAN class=483520514-11042008></SPAN> </DIV>
<DIV dir=ltr><SPAN class=483520514-11042008>Also please note that it is not
necessary to escape \, as you have done. And your script would be a little more
portable if you use the system variable %CommonProgramFiles% instead of
c:\programmer\fælles filer\ :)</SPAN></DIV>
<DIV dir=ltr><SPAN class=483520514-11042008></SPAN> </DIV>
<DIV dir=ltr><SPAN class=483520514-11042008>-CL</SPAN></DIV></DIV></BODY></HTML>