740 } |
740 } |
741 data.put("SECONDARY_LAUNCHER_ICONS", secondaryLauncherIcons.toString()); |
741 data.put("SECONDARY_LAUNCHER_ICONS", secondaryLauncherIcons.toString()); |
742 |
742 |
743 String wxs = Arguments.CREATE_JRE_INSTALLER.fetchFrom(params) ? |
743 String wxs = Arguments.CREATE_JRE_INSTALLER.fetchFrom(params) ? |
744 MSI_PROJECT_TEMPLATE_SERVER_JRE : MSI_PROJECT_TEMPLATE; |
744 MSI_PROJECT_TEMPLATE_SERVER_JRE : MSI_PROJECT_TEMPLATE; |
|
745 |
745 Writer w = new BufferedWriter( |
746 Writer w = new BufferedWriter( |
746 new FileWriter(getConfig_ProjectFile(params))); |
747 new FileWriter(getConfig_ProjectFile(params))); |
747 w.write(preprocessTextResource( |
748 |
748 WinAppBundler.WIN_BUNDLER_PREFIX |
749 String content = preprocessTextResource( |
749 + getConfig_ProjectFile(params).getName(), |
750 WinAppBundler.WIN_BUNDLER_PREFIX + |
|
751 getConfig_ProjectFile(params).getName(), |
750 I18N.getString("resource.wix-config-file"), |
752 I18N.getString("resource.wix-config-file"), |
751 wxs, data, VERBOSE.fetchFrom(params), |
753 wxs, data, VERBOSE.fetchFrom(params), |
752 DROP_IN_RESOURCES_ROOT.fetchFrom(params))); |
754 DROP_IN_RESOURCES_ROOT.fetchFrom(params)); |
|
755 w.write(content); |
753 w.close(); |
756 w.close(); |
754 return true; |
757 return true; |
755 } |
758 } |
756 private int id; |
759 private int id; |
757 private int compId; |
760 private int compId; |