This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Re: Malformed uxxxx Encoding Error
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 16, 2009
02:47 PM
Malformed uxxxx Encoding Error
Knowledge base article Q112941 says that in some cases, environment variables with \u in them can be misinterpreted as a (malformed) UTF-8 escape sequence.
This can also occur when using the "Extract to File" plugin to extract to the $INSTALLER_TEMP_DIR$, which you might do if you need a third-party jar file to run custom rules in the pre-install phase.
On Windows Vista the files extracted are mentioned in the uninstaller's properties file like:
extractToFile_Destination=C:\Users\user\AppData\Local\Temp\811702.tmp\jna.jar
which causes the error, while on XP the line looks like:
ExtractToFile_Destination=$INSTALLER_TEMP_DIR$\jna.jar
Solution is to go to Project :: Info :: Configure Variables and exclude this variable entirely.
This can also occur when using the "Extract to File" plugin to extract to the $INSTALLER_TEMP_DIR$, which you might do if you need a third-party jar file to run custom rules in the pre-install phase.
On Windows Vista the files extracted are mentioned in the uninstaller's properties file like:
extractToFile_Destination=C:\Users\user\AppData\Local\Temp\811702.tmp\jna.jar
which causes the error, while on XP the line looks like:
ExtractToFile_Destination=$INSTALLER_TEMP_DIR$\jna.jar
Solution is to go to Project :: Info :: Configure Variables and exclude this variable entirely.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 24, 2011
11:00 AM
this solution doesnt work for me. Neither does the solution to unset the PS1 env vars.
I am trying to the run my uninstaller on Windows (built using IA2010). I get this error only on uninstaller launch. Im stuck in my testing because i cant uninstall my application.
I am trying to the run my uninstaller on Windows (built using IA2010). I get this error only on uninstaller launch. Im stuck in my testing because i cant uninstall my application.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 10, 2011
03:45 PM
To close on this -
During maintenance mode [using Add Features option], if I used the action "Output debug info to file" and set the destination to be the IA file "installvariables.properties", it would include some paths that contained "/uninstaller.jar". My reason for doing this was to update the value of some vars that needed to be displayed everytime I ran it in Add Features mode. So the next time the uninstaller was run, it read this file with the wrong encoding and misinterpreted the "/u" as part of something in UTF.
In simple terms, its like sometimes when your double quotes turn up as some random chars like &:, So the way IA writes to installvariables.properties and the way it reads it back during execution is different. 😞
During maintenance mode [using Add Features option], if I used the action "Output debug info to file" and set the destination to be the IA file "installvariables.properties", it would include some paths that contained "/uninstaller.jar". My reason for doing this was to update the value of some vars that needed to be displayed everytime I ran it in Add Features mode. So the next time the uninstaller was run, it read this file with the wrong encoding and misinterpreted the "/u" as part of something in UTF.
In simple terms, its like sometimes when your double quotes turn up as some random chars like &:, So the way IA writes to installvariables.properties and the way it reads it back during execution is different. 😞
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)