I have created Windows Service
using C#
including (.exe
file and .msi
file in Debug folder)
ie. 1) setup.exe
and Tracking_Setup.msi
Now, the problem is that when I try to run/Install setup.exe file from D:\ (any other than C:\ ) Drive it's working fine but when I try to copy this file on Desktop and then try to run/setup it's give me error like
Unable to locate application file 'Tracking_Setup.msi'.
See the setup log file located at 'C:\Users\admin\AppData\Local\Temp\VSD5AD0.tmp\install.log' for more information.
I have give permission too this file and run as administrator too but still no luck.
When you copy setup.exe on desktop also copy .msi file which will be there with setup.exe in debug directory and then try to install.