I haven`t been able to realize a patch, it never finds the path of my program, nor the wizard,nor with actions if some one could send me some code or some advice .
All my work And the work of my team is parallize by this problem whe really need urgent help Lorne help us a lot but we still haven make this patch to work
my program is in C:/Program Files/Monitor/monitor.exe
if not g_InstalledVersion then
local TargetFileName = "monitor.exe";
local tbFolders = {};
tbFolders[1] = SessionVar.Expand("%ProgramFilesFolder%\\%ProductN ame%"); here it should have found it but he didn`t I don`t understand why
Dialog.Message("uupps",tbFolders[1]);
tbFolders[2] = SessionVar.Expand("%ProgramFilesFolder%\\%CompanyN ame%");
Dialog.Message("uupps",tbFolders[2]);
tbFolders[2] = SessionVar.Expand("%ProgramFilesFolder%\\%monitor% ");
Dialog.Message("uupps",tbFolders[3]);
tbFolders[3] = SessionVar.Expand("%ProgramFilesFolder%");
-- Insert other folders here...
Dialog.Message("uupps","No encuentra la ruta");
-- (g_FindApplicationOnSystem is defined in _Global_Functions.lua)
end
All my work And the work of my team is parallize by this problem whe really need urgent help Lorne help us a lot but we still haven make this patch to work
my program is in C:/Program Files/Monitor/monitor.exe
if not g_InstalledVersion then
local TargetFileName = "monitor.exe";
local tbFolders = {};
tbFolders[1] = SessionVar.Expand("%ProgramFilesFolder%\\%ProductN ame%"); here it should have found it but he didn`t I don`t understand why
Dialog.Message("uupps",tbFolders[1]);
tbFolders[2] = SessionVar.Expand("%ProgramFilesFolder%\\%CompanyN ame%");
Dialog.Message("uupps",tbFolders[2]);
tbFolders[2] = SessionVar.Expand("%ProgramFilesFolder%\\%monitor% ");
Dialog.Message("uupps",tbFolders[3]);
tbFolders[3] = SessionVar.Expand("%ProgramFilesFolder%");
-- Insert other folders here...
Dialog.Message("uupps","No encuentra la ruta");
-- (g_FindApplicationOnSystem is defined in _Global_Functions.lua)
end
Comment