Nour Enbabi
Nour Enbabi

Reputation: 30

How to add an external sound file when deploying a project in visual studio?

i have a program that plays a sound when a button is clicked , in deployment , how to put the file to be included with the setup.msi or setup.exe also , how to set the path in which it will be put ?

Upvotes: 0

Views: 247

Answers (1)

Cosmin
Cosmin

Reputation: 21416

The recommended approach is to store it in Binary table. A custom action can extract it when installation starts and another one can delete it when installation ends.

Upvotes: 1

Related Questions