Add version info.

This commit is contained in:
Steve Checkoway
2006-08-08 12:34:24 +00:00
parent dd2d6c3d29
commit d04971e156
+5
View File
@@ -5,6 +5,7 @@
#include "IniFile.h"
#include "XmlFile.h"
#include "LuaManager.h"
#include "ProductInfo.h"
const RString INSTALLER_LANGUAGES_DIR = "Themes/_Installer/Languages/";
@@ -45,8 +46,12 @@ void ExportStrings::Nsis()
void ExportStrings::LuaInformation()
{
XNode *pNode = LUA->GetLuaInformation();
XNode *pDateNode = new XNode;
DISP_OPT disp;
pDateNode->m_sName = "Version";
pDateNode->m_sValue = PRODUCT_ID_VER;
pNode->AppendChild( pDateNode );
disp.stylesheet = "Lua.xsl";
pNode->SaveToFile( "Lua.xml", disp );