当前位置:网站首页>Advancedinstaller installation package custom action open file
Advancedinstaller installation package custom action open file
2022-07-06 16:16:00 【Larry_ Yanan】
Advancedinstaller Install the package custom action to open the file
Say something grumbling
Let's talk about my project requirements first , Simply put, it needs to be at the end of the program installation or during the process , Call the two installation files in my installation package . This looks simple , But there is too little information on the Internet , No one said it clearly , I have taken many detours .
Mainly for my own situation , Make a note of , It's also convenient for others to try .
The following is an analysis of several practices that can be found on the Internet , And the final method
The pit passed
The first pit
of Advancedinstaller I won't go into details about creating installation packages , During the creation process, I remember that one of the items can be set , Call a file after the installation . You can also find this setting after entering the interface
In this dialog , You can simply define some settings of dialog boxes in the installation process , In this final leave page , By checking , Open the file you want to open .
This is OK , The program can also be adjusted , But you will soon find the problem , That is, you can only call one .
Yes , You write it side by side [#xxx.exe][#xxxx.exe] That's not going to work , Only the first one will be opened ; As for whether you can add a check box in the interface , It is also not feasible .
Because I need to call and open two programs , Even more , So the first method is definitely not good .
The second pit
The same interface
The same interface , You will find that there are custom operations , Then I'm curious about whether I can customize several operations of opening files , Then list it here
The result is found here , You can see that you can add the file you want to install and open , There should be many other operations that can be set , I didn't study .
The added files are all in your packaged files , Not a native file .
You can see that I have defined two operations
Each operation is to open the file , You can set Execution Options ( The first is to set administrator permissions ( Cannot be set here ) Well , The second is to wait for the execution of your open file , Then continue to complete its own installation package installation process )、 The third one will remind you of the wrong operation , Try it yourself and you'll know what effect it is
Then use these two operations , You can set it in the initial interface
That's it , In fact, I have been using this method for a long time , until …
I need to choose C Installation path of disk , It is found that these custom actions cannot be started , I can't open these files . And you can see , I can't set administrator permissions at all , It's useless to run the installation package with administrator privileges . Just when I was troubled , Found a third way
The scene of mental retardation ahead …
The final way
There are several options in the upper left corner of the user-defined operation , Click on any one of exe The installation files , You can add it
Pictured , Every file operation can be moved up and down , What I choose here is to call after the installation , So immediately , There may be some unnecessary troubles after the execution option is checked , I didn't check .
If you are in the installation process , Call in a step , The execution time is actually optional , But I don't know much , Interested friends can try it on their own .
In this case , Even if I don't have full permission to check the execution option , I may install on C disc , And install the installation package in my package . Some necessary plug-ins need to be installed 、 Library and auxiliary tools , This step is still very important , And it's relatively simple , It's just that there are too few online materials , I tried for a long time before I found this .
That's all !!
边栏推荐
- <li>圆点样式 list-style-type
- Problem - 1646C. Factorials and Powers of Two - Codeforces
- Basic Q & A of introductory C language
- Read and save zarr files
- 1323. Maximum number of 6 and 9
- Codeforces - 1526C1&&C2 - Potions
- Codeforces Round #797 (Div. 3)无F
- MySQL grants the user the operation permission of the specified content
- [exercise-8] (UVA 246) 10-20-30== simulation
- QNetworkAccessManager实现ftp功能总结
猜你喜欢
Share an example of running dash application in raspberry pie.
QT实现窗口置顶、置顶状态切换、多窗口置顶优先关系
Codeforces Round #799 (Div. 4)A~H
Radar equipment (greedy)
D - function (HDU - 6546) girls' competition
(POJ - 3579) median (two points)
Quick to typescript Guide
1903. Maximum odd number in string
Pytorch extract skeleton (differentiable)
Penetration test (4) -- detailed explanation of meterpreter command
随机推荐
Read and save zarr files
OneForAll安装使用
Advancedinstaller安装包自定义操作打开文件
双向链表—全部操作
What is the difficulty of programming?
2078. Two houses with different colors and the farthest distance
“鬼鬼祟祟的”新小行星将在本周安全掠过地球:如何观看
Openwrt source code generation image
去掉input聚焦时的边框
(POJ - 3685) matrix (two sets and two parts)
Candy delivery (Mathematics)
[exercise 4-1] cake distribution
Is the sanic asynchronous framework really so strong? Find truth in practice
树莓派CSI/USB摄像头使用mjpg实现网页摄像头监控
Auto.js入门
Codeforces Round #800 (Div. 2)AC
QT实现窗口渐变消失QPropertyAnimation+进度条
[teacher Gao UML software modeling foundation] collection of exercises and answers for level 20 cloud class
拉取分支失败,fatal: ‘origin/xxx‘ is not a commit and a branch ‘xxx‘ cannot be created from it
1605. Sum the feasible matrix for a given row and column