How to make basic MSI install program including the third supporting exe installed first or last using InstallShield 11.5 Pre E
来源:互联网 发布:apache 配置post请求 编辑:程序博客网 时间:2024/06/10 17:46
Usually this work is done by other guys who are in charge of this field,I just give them the relative docs.But as for one of them having trouble of health,I should do this myself,I'm a fresher for using the IS,but after several trial,I know how to do my topic said,OK,here is the code below: btw,wish my partner get well as soon as possilbe,however,I can't handle so much affairs myself.
export prototype MyFunction(HWND);
// the code below realize the function I said in my topic
// the .net framework are forced to install on the target PC
// the DirectX End User Runtime is also dealt as above
// this is just an example,usually you should detect the target PC
// to know the status, according this,u do something.
// To Do: Create a custom action for this entry-point function:
function MyFunction(hMSI)
STRING svResult;
begin if(FindFile(INSTALLDIR,"dotnetfx.exe",svResult)=0)
then LaunchAppAndWait (INSTALLDIR^"dotnetfx.exe","",WAIT);
endif;
if(FindFile(INSTALLDIR^"DXSupport","DXSETUP.exe",svResult)=0)
then LaunchAppAndWait (INSTALLDIR^"DXSupport"^"DXSETUP.exe","",WAIT);
endif;
DeleteFile(INSTALLDIR^"dotnetfx.exe");
DeleteDir(INSTALLDIR^"DXSupport",ALLCONTENTS);
end;
// the code below realize the function I said in my topic
// the .net framework are forced to install on the target PC
// the DirectX End User Runtime is also dealt as above
// this is just an example,usually you should detect the target PC
// to know the status, according this,u do something.
// To Do: Create a custom action for this entry-point function:
function MyFunction(hMSI)
STRING svResult;
begin if(FindFile(INSTALLDIR,"dotnetfx.exe",svResult)=0)
then LaunchAppAndWait (INSTALLDIR^"dotnetfx.exe","",WAIT);
endif;
if(FindFile(INSTALLDIR^"DXSupport","DXSETUP.exe",svResult)=0)
then LaunchAppAndWait (INSTALLDIR^"DXSupport"^"DXSETUP.exe","",WAIT);
endif;
DeleteFile(INSTALLDIR^"dotnetfx.exe");
DeleteDir(INSTALLDIR^"DXSupport",ALLCONTENTS);
end;
- How to make basic MSI install program including the third supporting exe installed first or last using InstallShield 11.5 Pre E
- How to register your own or the third ActiveX Control to the target PC using InstallShield 11.5 Pre Edition?
- how to install window exe program on ubuntu
- How to view the schema class or attribute definition you first have to install the Active Directory Schema snap-in
- Cygwin – “ERROR: Cannot find ‘make’ program. Please install Cygwin make package or define the GNUMAK
- How to install the third party modules under the pyCharm in the Windows
- How to swap two numbers without using temp or third variable
- How to uninstall or reinstall supported McAfee consumer products using the McAfee Consumer Products Removal tool (MCPR.exe)
- InstallShield Basic MSI工程常见问题
- How To Make A Good Program
- How to program in C++ (The most important and basic materials)
- How to setup VVR in VCS , including the FireDrill.
- how to make PKG_CONFIG_PATH variable to refer an installed library?
- Using IP Instances with VLANs or How to Make a Few NICs Look Like Many
- How to install the wine
- How to install the Siege
- How to Make Circle Images using CSS
- [转]InstallShield Basic MSI工程常见问题解答
- 定时器
- Visual Studio 2005.net 代码段(Snippet)丢失的解决方案
- 关于U盘的问题?
- 《大道至简》阅读笔记:EHM模型
- 阻碍你学习进步的七种想法
- How to make basic MSI install program including the third supporting exe installed first or last using InstallShield 11.5 Pre E
- JDom结合XPath的查找一列
- linux单用户模式
- 关于星空极速无法在VISTA下无法安装的问题
- JDOM/XPATH编程指南
- VC Studio 使用技巧
- 2007年,7月1日
- 深入探讨this指针(zz)
- how to use the X file (C++/DirectX)