Click here to Skip to main content
15,922,145 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I have developed an application. The distribution strategy is that user receives an email with an attachment of a jpeg picture describing product features, if user opens the file, installation of the application begins.
Is there any such thing possible? How to attach setup files with picture?

Thank you very much.
Posted

You can host the setup file on the Internet and put its url in the image's link (An image tag inside an anchor tag). So when the user clicks the image, the browser will prompt the user to save or run the setup file (depending on how the browser is configured).
 
Share this answer
 
If the image is linked to the install file, then a user will see the Run/Save dialog box when the image is clicked. Friendly advice: Be sure that you prominently display a "Click to Install" message along with the link. Some people might otherwise be put off by an installer being linked within an email. :)
 
Share this answer
 
If the user opens an email, they are going to have to click a link in order to download and install your app.

Think about it. Doing exactly what you described would be a HUGE security violation if it were possible.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900