如果以特殊字符的用户名的用户(如用户名!)推出使用install4j产生的安装程序,它无法启动,并出现以下错误:install4j安装程序无法使用特殊字符推出针对用户名
[错误]在bean ID安装程序的实例化过程中出现异常 [错误] com.sun.org.apache.xml.internal.serializer.utils.WrappedRuntimeException:无法为输出方法'xml'加载propery文件'output_xml.properties'(检查CLASSPATH ) com.sun.org.apache.xml.internal.serializer.utils.WrappedRuntimeException:无法在com.sun.org.apache上为输出方法'xml'(检查CLASSPATH) 载入propery文件'output_xml.properties' .xml.internal.serializer.Output PropertiesFactory.getDefaultMethodProperties(Unknown Source) at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.setDefaults(Unknown Source) at com.sun.org.apache.xalan.internal.xsltc.trax。 TransformerImpl.createOutputProperties(Unknown Source) at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl。(Unknown Source) at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl 。(Unknown Source) at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTransformer(Unknown Source) at com.install4j.runtime.installer.helper.XmlHelper.getString(Unknown Source) at com.install4j.runtime.installer.config.AbstractBeanConfig.instantiateBean(Unknown Source) at com.install4j.runt ime.installer.config.ApplicationBeanConfig.getOrInstantiateApplication(Unknown Source) at com.install4j.runtime.installer.config.InstallerConfig.getApplicationById(Unknown Source) at com.install4j.runtime.installer.config.InstallerConfig.setCurrentApplicationId(Unknown Source ) 在com.install4j.runtime.installer.Installer.runInProcess(来源不明) 在com.install4j.runtime.installer.Installer.main(来源不明) 在sun.reflect.NativeMethodAccessorImpl.invoke0(本机方法) 在sun.reflect.NativeMethodAccessorImpl.invoke(未知源) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.exe4j.r untime.LauncherEngine.launch(来源不明) 在com.exe4j.runtime.WinLauncher.main(来源不明) 在com.install4j.runtime.launcher.WinLauncher.main(来源不明)
有没有一种办法解决这个问题?
感谢 Parag塔库尔
谢谢Ingo。我们正在考虑记录以下解决方法: 1.选项命令提示符。 2.将%TEMP%设置为不含特殊字符的备用临时路径。 3.启动安装程序。 – 2014-09-24 04:57:30
是的,这将工作 – 2014-09-24 07:00:00