/ * Written by Jaron (Jia Jun), 2003-11-04 * // * Original Office: B / S Web Technology / h.com http://www.jaron.cn; * // * Welcome to my website: http : //www.jaron.cn * // * If you have questions about this article, please leave a message on the website / * / * Please indicate the source and keep this copyright message * // * Welcome to the SiteManager website management system http: // Sitemanager.cnzone.net; * /
In March 2002, I published a "ISTALLSHIELD package ASP program" or "package and automatic installation of ASP software with IS6", now I will encounter problems together, organize as follows:
Package ASP programs with installshield http://www.jaron.cn/chs_scripts/8/2002-03/20020301000000-100206.html Use IS6 to make ASP software package and automatic installation http://www.jaron.cn/chs_others/ 40 / 2003-05 / 20030502014646-100917.html
1. When you create a virtual site and automatically set a database, the files in the engineering example are executed in the way that the call outnrore program is used, you can first use the szcmdline command to use MessageBox (Szcmdline, Severe); display it, then in Windows2000 DOS mode Try it off, if successful, the script is no problem, otherwise it will be the problem of the command line;
2. The created database is in a temporary directory: The file in the sample file is to create a database in an additional manner. You can put the MDF file first COPY to the corresponding directory, then perform an additional command, you can also modify the Szcmdline to modify RESTORE The statement to create a database, RESTORE syntax refers to the help of SQL-Server;
3. You cannot create a virtual site: there are many reasons for this situation. First, to ensure that VBS is executed by cscript.exe, some software modifies the default open mode of VBS, suggests uninstall before installation, one Netizen once replicated Cscript.exe to supportdir, but I didn't tried it, and I wrote in this article for nearly two years. Now there is more ways to create virtual sites, such as using Adsutil.vbs. Created, this post I have already passed, interested friends can try it. Http://www.jaron.cn/chs_others/40/2002-08/2002082800000000-100431.html; or http://www.jaron.cn/chs_others/39/2002-08/20020809000000-100386.html
4. Create a text file: You can use the function: WriteProfstring ("C: / Test.ini", "Windows", "KeyboardDelay", "100"); can refer to the document: http://www.jaron.cn/ CHS_OTHERS / 40 / 2003-11 / 20031103094444-101390.html
5. Get system information, you can use getSystemInfo, detail reference: http://www.jaron.cn/chs_others/40/2003-11/20031103094040-101389.html
6. Read the registry, you can use: regdbsetdefaultroot, regdbgetKeyValueex, RegDBGetKeyValueex, Related Posts: http://www.jaron.cn/chs_others/40/2002-08/20020828000000-100430.html9cbs related documentation: ==== ============ Get IP addresses in InstallShield through the host name to reference the Winsock's samples to use IS6 to make ASP software packaging and automatic installation installShield detection if IIS utilization installshield get registration Value INSTALLSHIELD hides password input with installshield package ASP program