I'm assuming you want to close your application from your installer.
Right on top of my head I see two opntions
0) use
Process.GetProcessesByName[
^] to get the process of your application, and then send
WM_CLOSE
to the window with the handle
Process.MainWindowHandle[
^]
1) Use IPC, though this seems like overkill.