I need help with :
File.Copy(SessionVar.Expand(_SourceFolder .. "\\%ProductVer%.exe"), _SourceFolder .. "\\ABC\\Bkup.exe", false);
This works, however the setup.exe needs to be in the very folder that is being created during setup - cumbersome.
File.Copy(SessionVar.Expand("%AppFolder%\\%Product Ver%.exe"), "%AppFolder%\\ABC\\Bkup.exe", false);
This would be great - but it does not work. What am I doing wrong?
Thx for the help
File.Copy(SessionVar.Expand(_SourceFolder .. "\\%ProductVer%.exe"), _SourceFolder .. "\\ABC\\Bkup.exe", false);
This works, however the setup.exe needs to be in the very folder that is being created during setup - cumbersome.
File.Copy(SessionVar.Expand("%AppFolder%\\%Product Ver%.exe"), "%AppFolder%\\ABC\\Bkup.exe", false);
This would be great - but it does not work. What am I doing wrong?
Thx for the help
Comment