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%对应文档

 

posted @ 2024-03-15 11:17  兮去  阅读(58)  评论(0编辑  收藏  举报