Web page Open Desktop app (WinForm that EXE program)------2. Practice

Source: Internet
Author: User

1. First create a new WinForm program (assuming the project), generated under (otherwise I did not add any code)

2. Create a new packaging project (the kind of other InstallShield you study)

The process of packaging self-Baidu, here only in detail to change the part of the registration form

(1) HKEY_CLASSES_ROOT on the right->new->key and then the name can pick up I'm called Test here

(2) New two keys (i.e. folders) under test are called DefaultIcon and shells, respectively.

(3) New command under new Open,open under shell

(4) Right-DefaultIcon and command to create a new default Value, here to write the path, but the path of the installation package is the user's own choice, but do not worry, there is a [INSTALLDIR] keyword (is this called?). ), can help us to get, we just need to spell down the path is good, like my is [installdir]debug\test20170302.exe

And the final effect is this.

Then build the installation package, and finally we test it under:

Well, obviously, I did, if you didn't succeed.

Can contact me

Click to contact me

Web page Open Desktop app (WinForm that EXE program)------2. Practice

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.