Setup Factory 会话变量 setup factory 7.0

Session variables are special types of variables that are expanded at runtime when they are used. When they are used on screens, their values are automatically expanded for you, however if a session variable is used in an action script, it must be manually expanded using the SessionVar.Expand action.

While there are predefined session variables available to use, you can also create custom session variables at design time and run time. At design time, they can be defined on the Session Variables tab of the Project Settings dialog. At run time, you can create and manipulate session variables using the available SessionVar actions.

Note: If a session variable used on a screen needs to be set to a different value, it must be set prior to the screen's displaying, and all of its events. Another option is to set the text of the screen control using the appropriate Dlg***.SetProperties action. Any changes made to a session variable on a screen after the screen has been created (just before the On Preload event) will have no effect.

The following pre-defined session variables are available in Setup Factory:

%AppFolder%

Your application's main directory, where all of your files and folders will be installed. For example, by default Setup Factory's main directory is C:Program FilesSetup Factory 7.0.

%AppFolder% is initially set to the default value that you give it on the Session Variables tab of the Project Settings dialog. However, in most installations, the value of %AppFolder% will ultimately be set by the user on the Select Install Folder screen, overriding the default value.

%ApplicationDataFolder%

The path to the per-user Application Data folder on the user's system. This folder serves as a common repository for application-specific data. Typically, this path is something like "C:Documents and SettingsYourNameApplication Data."

%ApplicationDataFolderCommon%

The path to the all-user Application Data folder on the user's system. This folder servers as a common repository for application-specific data. Typically this is something like "C:Documents and SettingsAll UsersApplication Data."

%AppShortcutFolderName%

The name of the shortcut folder on the Start menu where your application's shortcuts will be stored.

%AppShortcutFolderName% is initially set to the default value that you give it on the Session Variables tab of the Project Settings dialog. However, in many installations, the value of %AppShortcutFolderName% will ultimately be set by the user on the Select Shortcut Folder screen, overriding the default value %ProductName%.

%AppDrive%

The drive letter of %AppFolder%. You should not set this variable explicitly. It is reset every time that %AppFolder% is re-assigned. For example, if %AppFolder% is C:Program FilesMy Program, %AppDrive% will be C:.

%CommonFilesFolder%

The user's Common Files folder. Typically, this is something like: C:Program FilesCommon Files.

%CompanyName%

Your company’s name. The value of this variable is set on the Session Variables tab of the Project Settings dialog.

%CompanyURL%

Your company’s URL. The value of this variable is set on the Session Variables tab of the Project Settings dialog.

%Copyright%

The copyright message for your product. The value of this variable is set on the Session Variables tab of the Project Settings dialog.

%DAOPath%

The path to the user's DAO (Data Access Objects) directory.

%DesktopFolder%

The path to the user's Desktop folder. On Windows NT/2000/XP, this is the path from the per-user profile.

%DesktopFolderCommon%

The path to the user's Desktop folder. On Windows NT/2000/XP, this is the path from the All Users profile. On a non-Windows NT system, this will simply be the path to the user's Desktop folder (the same as _DesktopFolder).

%FontsFolder%

The path to the user’s font directory (e.g. "C:WindowsFonts").

%MyDocumentsFolder%

The user's personal (My Documents) folder on their system. Usually this is something like "C:Documents and SettingsYourNameMy Documents" on Windows 2000/XP and "C:My Documents" on Windows 98/ME.

Note: Windows 95 did not have the My Documents folder and this variable will return "C:" if run on such a system.

%ProductName%

The name of the product that you are installing. The value of this variable is set on the Session Variables tab of the Project Settings dialog.

%ProductVer%

The version number of the product that you are installing. The value of this variable is set on the Session Variables tab of the Project Settings dialog.

%ProgramFilesFolder%

The user's Program Files folder (typically, this is something like "C:Program Files").

%RegOwner%

The name of the registered user of the system.

%RegOrganization%

The organization of the registered user of the system.

%SourceDrive%

The drive that the installation executable was run from (e.g. "C:" or "D:").

%SourceFolder%

The full path to the folder that the installation executable was run from (e.g. "C:Downloads" or "D:").

%SourceFilename%

The full path, including the filename, for the current setup executable.

For example, if the user was running "setup.exe" from "C:Downloads", %SourceFilename% would be expanded to "C:DownloadsSetup.exe".

%StartFolder%

The path to the user's Start menu folder. On Windows NT/2000/XP, this is the path from the per-user profile.

%StartFolderCommon%

The path to the user's Start menu folder. On Windows NT/2000/XP, this is the path from the All Users profile. On a non-Windows NT system, this will simply be the path to the user's Start menu folder (the same as %StartFolder%).

%StartProgramsFolder%

The path to the Programs folder in the user's Start menu. On Windows NT/2000/XP, this is the path from the per-user profile.

%StartProgramsFolderCommon%

The path to the Programs folder in the user's Start menu. On Windows NT/2000/XP, this is the path from the All Users profile. On a non-Windows NT system, this will simply be the path to the Programs folder in the user's Start menu (the same as %StartProgramsFolder%).

%StartupFolder%

The path to the user's Startup folder. On Windows NT/2000/XP, this is the path from the per-user profile.

%StartupFolderCommon%

The path to the user's Startup folder. On Windows NT/2000/XP, this is the path from the All Users profile. On a non-Windows NT system, this will be the path to the user's Startup folder (the same as %StartupFolder%).

%SystemFolder%

The path to the user’s Windows System folder (e.g. "C:WindowsSystem").

%SystemDrive%

The drive that the user's Windows System directory is located on (usually "C:").

%TempFolder%

The path to the user's Temp folder.

%TempLaunchFolder%

The path to the temporary directory where Setup Factory extracts the files it will need for the installation. (For example, this is the directory where Primer files are extracted to.) During the uninstall, this variable contains the path to the uninstall files folder. This is the folder that the uninstall configuration file is located.

Usually this directory will be the user's temporary directory, unless the user overrides the temporary directory with the /T command line option.

%WindowsFolder%

The path to the user’s Windows folder (e.g. "C:Windows").

%WindowTitle%

Setup Factory 会话变量 setup factory 7.0
The text that will appear on the windows task bar while the installation is running. The value of this variable is set on the Session Variables tab of the Project Settings dialog.

  

爱华网本文地址 » http://www.413yy.cn/a/25101011/82035.html

更多阅读

魔兽世界装备在哪里升级 魔兽世界7.0装备升级

魔兽世界装备在哪里升级——简介魔兽世界现在可以升级装备了,当你获得一件装备的时候,你会看到有些装备它有0/4这样的就是可以升级的。魔兽世界装备在哪里升级——工具/原料魔兽世界魔兽世界装备在哪里升级——方法/步骤魔兽世界装备

炽燃之翼怎么获得 7.0炽燃之翼持续多久

炽燃之翼怎么获得——简介炽燃之翼是魔兽世界6.0新增加的一个小玩具,点击使用会在你的角色背后出现两个金光闪闪的翅膀,非常酷炫。炽燃之翼可通过完成“奥利瑟拉佐尔的子嗣”成就获得,那么我满来看看如何完成“奥利瑟拉佐尔的子嗣”成

6.0痛苦术士天赋,属性,输出手法 7.0痛苦术士天赋手法

6.0痛苦术士天赋,属性,输出手法——简介暗影魔法大师,擅长持续性伤害输出,各种dot叠加达到最大的伤害,所以玩好痛苦术需要对他的技能相当熟练了解。德拉诺中痛苦术士的提升完善还是比较不错的,增加了一些技能。6.0痛苦术士天赋,属性,输出手

声明:《Setup Factory 会话变量 setup factory 7.0》为网友壹鉎嘸茇分享!如侵犯到您的合法权益请联系我们删除