setup factory添加注册表
result=SessionVar.Get("%AppFolder%"); proversion=SessionVar.Get("%ProductVer%"); Registry.CreateKey(HKEY_LOCAL_MACHINE,"SOFTWARE\\*******\\***") Registry.SetValue(HKEY_LOCAL_MACHINE, "SOFTWARE\\*******\\***", "exePath", result, REG_SZ); Registry.SetValue(HKEY_LOCAL_MACHINE, "SOFTWARE\\******\\***", "version", proversion, REG_SZ);
%ProductVer%对应文档