|
PackagingInstructions
Packaging on Windows instructions
Phase-Deploy Packaging instructionsWe try to have a packaging strategy that will enable us to produce the packaged stuff for all supported platforms in one run. This has been a cause of headaches for me, but the strategy below works more or less for me, although it is Windows only at the moment. This is the current instruction set, as long as we have not implemented this in VisualWorks itself. It is for Windows environments. The files I use are all in the subversion tree for the projects. The folder for packaging the application should be named [ProductName]/Packaging. In folder place a shortcut to command prompt, and cmd files (script files):
HKEY_CURRENT_USER [Manufacturer] [ProductName] [ProductVersion] ##.##.## HKEY_LOCAL_MACHINE [Manufacturer] [ProductName] [ProductVersion] ##.##.## Company [CompanyName] Email [EMAIL] InstallDate [Date] LogonUser [LogonUser] ProductID [ProductID] [ProductName] [TARGETDIR] User [USERNAME] Cincom Systems, Inc. VisualWorks 7.4 [ProductName] [TARGETDIR] The last is because I need to know the directory in which the user has installed the application, and by using this registry key I can use the platform independent SystemUtils on Windows. For all other platforms there are [PlatformName] directories in which the files are placed mostly by the build scripts. These directories are as a rule not used by an installer but packaged (zipped) and copied to the uploads directory for upload to the server. |