I have a project with a setup
After the setup is done i need to copy a file from the location of the setup file to the installed directory.
Does anyone know how to retreive the path from where the setup was run.
setup.msi in on d:\myprogram\setup.msi and installs to c:\program files\mycompany\myproduct\
At the end of the setup i need to run a custom action (I already have this) and the custom action needs to copy a txt file from d:\ to c:\program files\mycompany\myproduct\ where d:\ i variable (It depends where the user has the setup.msi file on his computer
I need the code in vb.net if possible (I could translate from C# to vb.net, but vb.net is preffered)