For the last few days I have been trying to work out a bug in our installation of Visual Studio .NET 2003 Pro.

The setup looks like this:

I am installing VS from a directory in a share on our server:

\\server\vs2003\vs

Running the setup.exe program directly or installing unattended using msiexec with these switches and properties set:

msiexec /qb- /i \\server\vs2003\vs\vs_setup.msi VSEXTUI=1 PIDKEY="MyPIDkey" ALLUSERS=1 ADDLOCAL="loads of features listed"

works well. I get a working local installation on our Windows XP Pro SP1 workstations from which I can run all the tools and features available in Visual Studio.

However, I need to move the shortcuts for Visual Studio to a sub-menu on the start menu to comply with our GUI and usability standards. I have attempted to accomplish this by using a transform which moves the shortcuts to "Start Menu\Programs\Programming\Visual Studio". The tools and Microsoft .NET Framework SDK shortcuts were moved to a sub-directory of that location.

The transform was generated using Wise Package Studio 4.62. It only touches the shortcuts and does nothing else. I have run it through both ORCA and the Wise validation suites to find any inconsistencies and found none (at least none that weren't already present in the default Visual Studio MSI package).

Despite this, I am unable to start the main Visual Studio application when installing with the transform applied. I am running the exact same msiexec command line as above with the added property:

TRANSFORMS="path to transform file"

The msiexec command returns success and I can run all of the tools and the Visual Studio help by clicking on their shortcuts but when I try to start the man Visual Studio application a Windows Installer window opens up shortly after the splash screen, reports that it is trying to install something and then ends, bringing the application down with it.

Nothing is reported for the secondary "per-user" installation in the event log and enabling verbose logging for Windows Installer doesn't seem to turn up anything really useful on what the installer tries to accomplish. At the end of the per-user installation log the following is displayed:

"MainEngineThread is returning 1603"

1603 means fatal error but no reason is given in the previous log entries.

I have included the complete, per-user log below for reference. My transform file is available on request if anyone wants to have a look at it.

If someone has any idea as to what the problem might be I would be very interested in hearing about it.


MSI installation log for "per-user" installation
------------------------------------------------

=== Verbose logging started: 2004-08-10 17:54:03 Build type: SHIP UNICODE 2.00.2600.1106 Calling process: C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE\devenv.exe ===
MSI (c) (DC:B0): Resetting cached policy values
MSI (c) (DC:B0): Machine policy value 'Debug' is 0
MSI (c) (DC:B0): ******* RunEngine:
******* Product: {20610409-CA18-41A6-9E21-A93AE82EE7C5}
******* Action: CollectUserInfo
******* CommandLine: **********
MSI (c) (DC:B0): Machine policy value 'DisableUserInstalls' is 0
MSI (c) (DC:B0): Cloaking enabled.
MSI (c) (DC:B0): End dialog not enabled
MSI (c) (DC:B0): Original package ==> C:\WINDOWS\Installer\152b801.msi
MSI (c) (DC:B0): Package we're running from ==> C:\WINDOWS\Installer\152b801.msi
MSI (c) (DC:B0): APPCOMPAT: looking for appcompat database entry with ProductCode '{20610409-CA18-41A6-9E21-A93AE82EE7C5}'.
MSI (c) (DC:B0): APPCOMPAT: no matching ProductCode found in database.
MSI (c) (DC:B0): Looking for file transform: C:\WINDOWS\Installer\{20610409-CA18-41A6-9E21-A93AE82EE7C5}\msvs2003-shortcuts2.mst
MSI (c) (DC:B0): Original transform ==> C:\WINDOWS\Installer\{20610409-CA18-41A6-9E21-A93AE82EE7C5}\msvs2003-shortcuts2.mst
MSI (c) (DC:B0): Transform we're running from ==> C:\DOCUME~1\adm\LOCALS~1\Temp\1914289.mst
MSI (c) (DC:B0): SOFTWARE RESTRICTION POLICY: Verifying transform --> 'C:\WINDOWS\Installer\{20610409-CA18-41A6-9E21-A93AE82EE7C5}\msvs2003-shortcuts2.mst' against software restriction policy
MSI (c) (DC:B0): Note: 1: 2262 2: DigitalSignature 3: -2147287038
MSI (c) (DC:B0): SOFTWARE RESTRICTION POLICY: C:\WINDOWS\Installer\{20610409-CA18-41A6-9E21-A93AE82EE7C5}\msvs2003-shortcuts2.mst is not digitally signed
MSI (c) (DC:B0): SOFTWARE RESTRICTION POLICY: C:\WINDOWS\Installer\{20610409-CA18-41A6-9E21-A93AE82EE7C5}\msvs2003-shortcuts2.mst is permitted to run at the 'unrestricted' authorization level.
MSI (c) (DC:B0): Validating transform 'C:\DOCUME~1\adm\LOCALS~1\Temp\1914289.mst' with validation bits 0x0
MSI (c) (DC:B0): Transform 'C:\DOCUME~1\adm\LOCALS~1\Temp\1914289.mst' is valid.
MSI (c) (DC:B0): Note: 1: 2262 2: Patch 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: PatchPackage 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: Media 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: File 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: PatchPackage 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: Patch 3: -2147287038
MSI (c) (DC:B0): TRANSFORM: 'PatchPackage' table is missing or empty. No pre-transform fixup necessary.
MSI (c) (DC:B0): TRANSFORM: Applying regular transform to database.
MSI (c) (DC:B0): Note: 1: 2262 2: ActionText 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: AdminExecuteSequence 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: Condition 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: AdminUISequence 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: AdvtExecuteSequence 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: AdvtUISequence 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: AppId 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: AppSearch 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: Feature 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: Binary 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: BindImage 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: File 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: CCPSearch 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: Class 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: ProgId 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: CompLocator 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: Complus 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: CustomAction 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: DrLocator 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: DuplicateFile 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: Environment 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: Error 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: Extension 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: MIME 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: Font 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: IniFile 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: IniLocator 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: InstallExecuteSequence 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: InstallUISequence 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: IsolatedComponent 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: LaunchCondition 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: LockPermissions 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: Media 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: ModuleComponents 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: ModuleSignature 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: ModuleDependency 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: ModuleExclusion 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: MoveFile 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: MsiAssembly 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: MsiAssemblyName 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: ODBCAttribute 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: ODBCDriver 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: ODBCDataSource 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: ODBCSourceAttribute 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: ODBCTranslator 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: Patch 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: PatchPackage 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: PublishComponent 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: HelpFile 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: Registry 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: RegLocator 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: RemoveFile 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: RemoveIniFile 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: RemoveRegistry 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: ReserveCost 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: SelfReg 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: ServiceControl 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: ServiceInstall 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: HelpNamespace 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: HelpFilterToNamespace 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: Signature 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: HelpFilter 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: HelpFileToNamespace 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: HelpPlugin 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: TypeLib 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: UIText 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: Upgrade 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: Verb 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: FileSaid 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: MsiFileHash 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: _MsiPatchTransformView 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: InitializationSequence 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: ProgressActions 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: HHFilter 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: HHNameSpaceToFilter 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: HHNameSpace 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: HHNameSpaceToFile 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: HHContent 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: CheckBox 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: TextStyle 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: MsiDigitalCertificate 3: -2147287038
MSI (c) (DC:B0): Note: 1: 2262 2: MsiDigitalSignature 3: -2147287038
MSI (c) (DC:B0): APPCOMPAT: looking for appcompat database entry with ProductCode '{20610409-CA18-41A6-9E21-A93AE82EE7C5}'.
MSI (c) (DC:B0): APPCOMPAT: no matching ProductCode found in database.
MSI (c) (DC:B0): Transforms are not secure.
MSI (c) (DC:B0): Transforming table Property.

MSI (c) (DC:B0): Note: 1: 2205 2: 3: Control
MSI (c) (DC:B0): Command Line: CURRENTDIRECTORY=C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE CLIENTUILEVEL=0 CLIENTPROCESSID=732 ACTION=CollectUserInfo
MSI (c) (DC:B0): Product Code passed to Engine.Initialize: '{20610409-CA18-41A6-9E21-A93AE82EE7C5}'
MSI (c) (DC:B0): Product Code from property table before transforms: '{20610409-CA18-41A6-9E21-A93AE82EE7C5}'
MSI (c) (DC:B0): Product Code from property table after transforms: '{20610409-CA18-41A6-9E21-A93AE82EE7C5}'
MSI (c) (DC:B0): Product registered: entering maintenance mode
MSI (c) (DC:B0): Package name retrieved from configuration data: 'vs_setup.msi'
MSI (c) (DC:B0): Determined that existing product (either this product or the product being upgraded with a patch) is installed per-machine.
MSI (c) (DC:B0): Note: 1: 2262 2: AdminProperties 3: -2147287038
MSI (c) (DC:B0): Machine policy value 'DisableMsi' is 0
MSI (c) (DC:B0): Machine policy value 'AlwaysInstallElevated' is 0
MSI (c) (DC:B0): User policy value 'AlwaysInstallElevated' is 0
MSI (c) (DC:B0): Product {20610409-CA18-41A6-9E21-A93AE82EE7C5} is admin assigned: LocalSystem owns the publish key.
MSI (c) (DC:B0): Product {20610409-CA18-41A6-9E21-A93AE82EE7C5} is managed.
MSI (c) (DC:B0): Running product '{20610409-CA18-41A6-9E21-A93AE82EE7C5}' with elevated privileges: Product is assigned.
MSI (c) (DC:B0): TRANSFORMS property is now: C:\WINDOWS\Installer\{20610409-CA18-41A6-9E21-A93AE82EE7C5}\msvs2003-shortcuts2.mst
MSI (c) (DC:B0): SHELL32::SHGetFolderPath returned: C:\Documents and Settings\adm\Application Data
MSI (c) (DC:B0): SHELL32::SHGetFolderPath returned: C:\Documents and Settings\adm\Favorites
MSI (c) (DC:B0): SHELL32::SHGetFolderPath returned: C:\Documents and Settings\adm\NetHood
MSI (c) (DC:B0): SHELL32::SHGetFolderPath returned: C:\Documents and Settings\adm\My Documents
MSI (c) (DC:B0): SHELL32::SHGetFolderPath returned: C:\Documents and Settings\adm\PrintHood
MSI (c) (DC:B0): SHELL32::SHGetFolderPath returned: C:\Documents and Settings\adm\Recent
MSI (c) (DC:B0): SHELL32::SHGetFolderPath returned: C:\Documents and Settings\adm\SendTo
MSI (c) (DC:B0): SHELL32::SHGetFolderPath returned: C:\Documents and Settings\adm\Templates
MSI (c) (DC:B0): SHELL32::SHGetFolderPath returned: C:\Documents and Settings\All Users\Application Data
MSI (c) (DC:B0): SHELL32::SHGetFolderPath returned: C:\Documents and Settings\adm\Local Settings\Application Data
MSI (c) (DC:B0): SHELL32::SHGetFolderPath returned: C:\Documents and Settings\adm\My Documents\My Pictures
MSI (c) (DC:B0): SHELL32::SHGetFolderPath returned: C:\Documents and Settings\All Users\Start Menu\Programs\Administrative Tools
MSI (c) (DC:B0): SHELL32::SHGetFolderPath returned: C:\Documents and Settings\All Users\Start Menu\Programs\Startup
MSI (c) (DC:B0): SHELL32::SHGetFolderPath returned: C:\Documents and Settings\All Users\Start Menu\Programs
MSI (c) (DC:B0): SHELL32::SHGetFolderPath returned: C:\Documents and Settings\All Users\Start Menu
MSI (c) (DC:B0): SHELL32::SHGetFolderPath returned: C:\Documents and Settings\All Users\Desktop
MSI (c) (DC:B0): SHELL32::SHGetFolderPath returned: C:\Documents and Settings\adm\Start Menu\Programs\Administrative Tools
MSI (c) (DC:B0): SHELL32::SHGetFolderPath returned: C:\Documents and Settings\adm\Start Menu\Programs\Startup
MSI (c) (DC:B0): SHELL32::SHGetFolderPath returned: C:\Documents and Settings\adm\Start Menu\Programs
MSI (c) (DC:B0): SHELL32::SHGetFolderPath returned: C:\Documents and Settings\adm\Start Menu
MSI (c) (DC:B0): SHELL32::SHGetFolderPath returned: C:\Documents and Settings\adm\Desktop
MSI (c) (DC:B0): SHELL32::SHGetFolderPath returned: C:\Documents and Settings\All Users\Templates
MSI (c) (DC:B0): SHELL32::SHGetFolderPath returned: C:\WINDOWS\Fonts
MSI (c) (DC:B0): Note: 1: 2898 2: MS Sans Serif 3: MS Sans Serif 4: 0 5: 16
MSI (c) (DC:B0): MSCOREE already loaded, using loaded copy
=== Logging started: 2004-08-10 17:54:04 ===
MSI (c) (DC:B0): Machine policy value 'DisableRollback' is 0
MSI (c) (DC:B0): User policy value 'DisableRollback' is 0
MSI (c) (DC:B0): Doing action: CollectUserInfo
Action start 17:54:04: CollectUserInfo.
MSI (c) (DC:B0): Doing action: FirstRun
Action start 17:54:04: FirstRun.
Action ended 17:54:04: FirstRun. Return value 0.
Action ended 17:54:04: CollectUserInfo. Return value 0.
MSI (c) (DC:B0): Note: 1: 2205 2: 3: Control
Property(C): DiskPrompt = [1]
Property(C): FeatureID = 1
Property(C): InstallMode = Complete
Property(C): UpgradeCode = {EC50BF0A-3064-11D5-A54A-0090278A1BB8}
Property(C): PackageCode = {87A5964C-AEE5-4D4D-8285-7945D089246F}
Property(C): ProgramMenuFolder = C:\Documents and Settings\All Users\Start Menu\Programs\
Property(C): AdminToolsFolder = C:\Documents and Settings\All Users\Start Menu\Programs\Administrative Tools\
Property(C): AppDataFolder = C:\Documents and Settings\adm\Application Data\
Property(C): CommonAppDataFolder = C:\Documents and Settings\All Users\Application Data\
Property(C): ProgramFilesFolder = C:\Program Files\
Property(C): CommonFilesFolder = C:\Program Files\Common Files\
Property(C): DesktopFolder = C:\Documents and Settings\All Users\Desktop\
Property(C): WindowsVolume = C:\
Property(C): PersonalFolder = C:\Documents and Settings\adm\My Documents\
Property(C): StartMenuFolder = C:\Documents and Settings\All Users\Start Menu\
Property(C): WindowsFolder = C:\WINDOWS\
Property(C): System16Folder = C:\WINDOWS\System\
Property(C): SystemFolder = C:\WINDOWS\System32\
Property(C): TempFolder = C:\DOCUME~1\adm\LOCALS~1\Temp\
Property(C): Privileged = 1
Property(C): ALLUSERS = 1
Property(C): ARPHelpLink = http://support.microsoft.com/default.aspx?scid=FH;EN-US;vsnet&SD=GN&FR=0&LN=EN-US
Property(C): ARPNOMODIFY = 1
Property(C): ARPURLUpdateInfo = http://msdn.microsoft.com/vstudio/downloads/updates.asp
Property(C): BuildType = Retail
Property(C): CRPIDKEY = AAP50-GS00000-U7000RN
Property(C): DDPatch = 0
Property(C): DiskNo1 = [Disk 1]
Property(C): DiskNo10 = [Disk 10]
Property(C): DiskNo2 = [Disk 2]
Property(C): DiskNo3 = [Disk 3]
Property(C): DiskNo4 = [Disk 4]
Property(C): DiskNo5 = [Disk 5]
Property(C): DiskNo6 = [Disk 6]
Property(C): DiskNo7 = [Disk 7]
Property(C): DiskNo8 = [Disk 8]
Property(C): DiskNo9 = [Disk 9]
Property(C): DPCINTLFOLDER = CommonIDE_1033.3643236F_FC70_11D3_A536_0090278A1BB8
Property(C): FILESINUSETEXT = The following applications should be closed before continuing the install:
Property(C): INSTALLLEVEL = 2
Property(C): LIMITUI = 1
Property(C): LocProductName = Visual Studio .NET Professional 2003 - English
Property(C): Manufacturer = Microsoft
Property(C): MSDE_MSMS_NOREINSTALL = True
Property(C): MSDNVS = ms-help://MS.MSDNVS
Property(C): MSNFSDK = ms-help://MS.NETFrameworkSDKv1.1
Property(C): NullGUID = {00000000-0000-0000-0000-000000000000}
Property(C): ProductID = none
Property(C): PIDRegEntryName = ProductID
Property(C): PIDSKU = 659-01131
Property(C): PIDTemplate = 69462<````=````=````=````=`````>@@@@@
Property(C): PIDUserNameRegKey = SOFTWARE\Microsoft\VisualStudio\7.0\Registration
Property(C): PIDUserNameRegRoot = HKEY_LOCAL_MACHINE
Property(C): PrimaryDir = VS7.3643236F_FC70_11D3_A536_0090278A1BB8
Property(C): ProductCode = {20610409-CA18-41A6-9E21-A93AE82EE7C5}
Property(C): ProductIdX = 061
Property(C): ProductLanguage = 1033
Property(C): ProductName = Visual Studio .NET Professional 2003 - English
Property(C): ProductVersion = 7.1.3088
Property(C): REBOOT = Suppress
Property(C): RegWizCmdLine = HKEY_LOCAL_MACHINE\SOFTWARE\Crystal Decisions\Crystal Reports\VSNET\Keycodes\CR9 NET
Property(C): REINSTALLMODE = omus
Property(C): REPAIR_REINSTALLMODE = pecmsu
Property(C): ReserveAdditionalCostVS7UI = 8388608
Property(C): RunCount = 49
Property(C): SDK_VERSION = v1.0.5000
Property(C): SecureCustomProperties = JSHFOUNDVER;NGEN_EXE;OCMFOUNDVER;OCMFOUNDVERLANG;REDISTFOUNDVER;
REDISTFOUNDVERLANG;IE501FOUND.3643236F_FC70_11D3_A536_0090278A1BB8;
INSTALLBLOCKFOUND.3643236F_FC70_11D3_A536_0090278A1BB8;
UNINSTALLBLOCKFOUND.3643236F_FC70_11D3_A536_0090278A1BB8
Property(C): SqlInstanceName = VSPE
Property(C): ThicketsAUTOTextString = Show and manage the pair as a single file
Property(C): ThicketsNOHIDETextString = Show both parts but manage as a single file
Property(C): ThicketsNONETextString = Show both parts and manage them individually
Property(C): ThicketsTextString = Managing pairs of Web pages and folders
Property(C): UninstallDevice_HardwareID.99296848_5E96_44B6_B704_4400C79A4EB1 = VPCsystem
Property(C): UninstallNetworkService_HardwareID.F6432F7B-B1F3-48aa-9CB6-EA3B29A5E25F = Cntx_VPCNetS2
Property(C): UpdateProp1 = 0
Property(C): UpdateProp2 = 0
Property(C): UpdateProp3 = 0
Property(C): UpdateProp4 = 0
Property(C): UpdateProp5 = 0
Property(C): URTVersion = v1.1.4322
Property(C): UserNameRegEntryName = UserName
Property(C): VBS_WWWROOT = Property("CommonWWWRoot.3643236F_FC70_11D3_A536_0090278A1BB8") = left(Property("WWWROOTREGKEY.3643236F_FC70_11D3_A536_0090278A1BB8"),
instr(Property("WWWROOTREGKEY.3643236F_FC70_11D3_A536_0090278A1BB8"),",")-1)
Property(C): VS7PkgsRoot = HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\7.0\Packages\
Property(C): VS7RegRoot = HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\7.0\
Property(C): VersionNT = 501
Property(C): Date = 2004-08-10
Property(C): Installed = 00:00:00
Property(C): BINUSERINITIALS = 0000
Property(C): BINUSERNAME = 0000
Property(C): ExtraEditLanguage1 = 1033
Property(C): ExtraEditLanguage2 = 1033
Property(C): ExtraEditLanguage3 = 1033
Property(C): ExtraEditLanguage4 = 1033
Property(C): SHOWDATES = ON
Property(C): SecureCustomProperties.D0DF3458_A845_11D3_8D0A_0050046416B9 = SHOWDATES
Property(C): comspec_cmd = %comspec%
Property(C): VersionDatabase = 200
Property(C): CLIENTUILEVEL = 0
Property(C): PRODUCTLANGUAGE = 1033
Property(C): ACTION = CollectUserInfo
Property(C): CLIENTPROCESSID = 732
Property(C): ProductToBeRegistered = 1
Property(C): TRANSFORMS = C:\WINDOWS\Installer\{20610409-CA18-41A6-9E21-A93AE82EE7C5}\msvs2003-shortcuts2.mst
Property(C): CURRENTDIRECTORY = C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE
Property(C): ProductState = 5
Property(C): WiseInitPrefix = Initializing
Property(C): WiseInitSuffix = Wizard...
Property(C): _WiseDebugMode = 0
Property(C): WiseInitLangDefault = English,1033
Property(C): VersionMsi = 2.00
Property(C): WindowsBuild = 2600
Property(C): ServicePackLevel = 1
Property(C): ServicePackLevelMinor = 0
Property(C): MsiNTProductType = 1
Property(C): RemoteAdminTS = 1
Property(C): FavoritesFolder = C:\Documents and Settings\adm\Favorites\
Property(C): NetHoodFolder = C:\Documents and Settings\adm\NetHood\
Property(C): PrintHoodFolder = C:\Documents and Settings\adm\PrintHood\
Property(C): RecentFolder = C:\Documents and Settings\adm\Recent\
Property(C): SendToFolder = C:\Documents and Settings\adm\SendTo\
Property(C): TemplateFolder = C:\Documents and Settings\All Users\Templates\
Property(C): LocalAppDataFolder = C:\Documents and Settings\adm\Local Settings\Application Data\
Property(C): MyPicturesFolder = C:\Documents and Settings\adm\My Documents\My Pictures\
Property(C): StartupFolder = C:\Documents and Settings\All Users\Start Menu\Programs\Startup\
Property(C): FontsFolder = C:\WINDOWS\Fonts\
Property(C): GPTSupport = 1
Property(C): OLEAdvtSupport = 1
Property(C): ShellAdvtSupport = 1
Property(C): Intel = 15
Property(C): PhysicalMemory = 512
Property(C): VirtualMemory = 1108
Property(C): AdminUser = 1
Property(C): LogonUser = adm
Property(C): UserSID = S-1-5-21-842925246-1580436667-725345543-1019
Property(C): UserLanguageID = 1053
Property(C): ComputerName = ADIRA
Property(C): SystemLanguageID = 1053
Property(C): ScreenX = 1280
Property(C): ScreenY = 1024
Property(C): CaptionHeight = 19
Property(C): BorderTop = 1
Property(C): BorderSide = 1
Property(C): TextHeight = 16
Property(C): ColorBits = 32
Property(C): TTCSupport = 1
Property(C): MsiNetAssemblySupport = 1.1.4322.573
Property(C): MsiWin32AssemblySupport = 5.1.2600.1336
Property(C): RedirectedDllSupport = 2
Property(C): Time = 17:54:05
Property(C): USERNAME = CCM-Client: adira
Property(C): COMPANYNAME = AB TakeIT
Property(C): DATABASE = C:\WINDOWS\Installer\152b801.msi
Property(C): OriginalDatabase = C:\WINDOWS\Installer\152b801.msi
Property(C): UILevel = 3
=== Logging stopped: 2004-08-10 17:54:05 ===
MSI (c) (DC:B0): Attempting to delete file C:\DOCUME~1\adm\LOCALS~1\Temp\1914289.mst
MSI (c) (DC:B0): Grabbed execution mutex.
MSI (c) (DC:B0): Cleaning up uninstalled install packages, if any exist
MSI (c) (DC:B0): MainEngineThread is returning 1603
=== Verbose logging stopped: 2004-08-10 17:54:05 ===
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
I'm just curious, but HOW did you deal with the 4 prerequisite apps required by VS?

I tried to automate this install, too, but ended up concluding that it needed to be a part of the core image deployed to our development/programming folks.

As for your specific problem, the only thing I can think to try would be to temporarily disable advertising for the main VS icon and see if that successfully disables self-repair.

I would not KEEP the shortcut unadvertised, but at least it might give you a clue as to what might be going wrong.

One other thought: maybe make your own shortcut to the main VS icon... and then dump the one originally from your .MSI file.

Good luck!

- Sean Roberts
Answered 08/10/2004 by: sean_c_roberts
Senior Purple Belt

Please log in to comment
0
I have solved the problem. As it turns out Wise does a lot more to the MSI tables when creating a transform than it tells the user. This affects Visual Studio both when starting it from the start menu and when opening files directly with it. Instead I used the minimal but very useful tool Orca from the Windows Installer SDK (can be downloaded from Microsoft along with all the other SDK parts at http://www.microsoft.com/msdownload/platformsdk/sdkupdate/) to generate a working transform.

Using Orca I changed the directory table to arrange the shortcuts in appropriate start menu groups. Instead of this structure:

Start Menu\Programs\Microsoft .NET Framework SDK 1.1
Start Menu\Programs\Microsoft Visual Studio .NET 2003
Start Menu\Programs\Microsoft Visual Studio .NET 2003\Visual Studio Tools

I get this structure:

Start Menu\Programs\Programming\Visual Studio
Start Menu\Programs\Programming\Visual Studio\Microsoft .NET Framework SDK
Start Menu\Programs\Programming\Visual Studio\Tools

The transform is available from http://www.cyd.liu.se/~lexicon/msvs2003-shortcuts4.mst

Regarding the Visual Studio pre-requisites, that wasn't too hard with some fancy MSI juggling. On a fully patched Windows XP Pro box I only require the install of the following packages (the MDAC patch is included in the patches I apply to the box):

Microsoft .NET Framework 1.1 Redistributable (netfx.msi)
Microsoft Visual J# 1.1 Redistributable (jsredis1.msi)
VS .NET files (bootstrap.msi)
Microsoft Frontpage client (weccom.msi)

.NET Framework
--------------
Download the redistributable from http://msdn.microsoft.com/netframework/technologyinfo/redist/. Unpack the exe file. You'll get an MSI and a CAB file. Put these in the same directory and run:

msiexec /qb- /i netfx.msi ALLUSERS=1

Visual J# 1.1 Redistributable
-----------------------------
Download from: http://msdn.microsoft.com/vjsharp/downloads/howtoget/
Unpack the exe file and you'll get an MSI and a CAB file. Run:

msiexec /qb- /i jsredis1.msi

Visual Studio installation
--------------------------
Follow the instructions in the administrator readme file on the Visual Studio CD and copy all the CDs to a share with the following structure:

\\server\vs2003\pre (Pre-req CD files)
\\server\vs2003\vs (Visual Studio files from both CDs)
\\server\vs2003\msdn (MSDN documentation)

From the pre directory install the following MSIs:

msiexec /qb- /i \\server\vs2003\pre\bootstrap.msi ALLUSERS=1
msiexec /qb- /i \\server\vs2003\pre\weccom.msi ALLUSERS=1

Then install the main VS MSI:

msiexec /qb- /i \\server\vs2003\vs_setup.msi ALLUSERS=1 TRANSFORMS="full path to transform file" VSEXTUI=1 PIDKEY="your license key" ADDLOCAL="a load of features"

Explanation:

VSEXTUI=1 this tricks the MSI into thinking it is being run from SETUP.EXE.
PIDKEY set this property to your license number without any dashes
ADDLOCAL this determines what features are installed locally. I got this very long list from running the SETUP.EXe with verbose MSI logging turned on in the registry and looking at the installation log file in my %TEMP% directory. See below for an example that installs everything but the web development tools.

Example:

ADDLOCAL="Visual_Studio.NET_Professional,Tools_for_Redistributing_Apps,
Visual_Studio_Graphics_Library,Redistributable_Merge_Modules,Crystal_Reports,
VCS_Crystal_Report_Project_Items_,VB7_Crystal_Report_Project_Items,
VC_Crystal_Report_Project_Item,Crystal_Report_Share,
VJ_Crystal_Report_Project_Items,dotNET_Framework_SDK,SDK_Samples_for_VS,
Server_Components_for_Pro_Edition,VS_Remote_Debugger,Full_Remote_Debugging,
Visual_Database_Tools_Sproc_Version,Language_Tools_for_VS_7_Pro,
VB_for_VS7_Pro,SDE_for_VB,VCpp_for_VS_7_Pro,VCpp_Runtime_Libraries,
CRT2_Static_Libraries,CRT3_Shared_Libraries,CRT4_Source_Code,
CRT1_Single_Threaded_Libraries,VCpp_Class_and_Template_Libraries,
ATL_MFC_Static_Libraries_ANSI,ATL_MFC_Shared_Libraries_ANSI,
ATL_MFC_Static_Libraries_Unicode,ATL_MFC_Shared_Libraries_Unicode,
ATL_MFC_Source_Code,VCpp_Tools,Trace_Utility,Spy_Plus_Plus,OLE_Com_Object_Viewer,
ActiveX_Control_Test_Container,Error_Lookup,WebDbg,Platform_SDK_Tools,
VCsh_for_VS_7_Pro,JavaLang_Conversion_Assitant,
SDE_for_VCSh,VJSh_for_VS_Pro,Dotfuscator_Community_Edition"


MSDN documentation installation
-------------------------------
I have not fully tested this yet but I think these are the correct properties to use to install the MSDN documentation and any updates to it:

msiexec /qb- /i \\server\vs2003\msdn\msdn.msi INSTALLATION_TYPE=Typical SETUP_EXE=yes UNPLUGOLD70NAMESPACE=1 UNPLUGOLD71NAMESPACE=1

Explanation:

INSTALLATION_TYPE=Typical installs about 600 MB locally and reads the rest of the docs from the network when needed. Change this to "Full" to install everything locally (I think)
SETUP_EXE=yes makes the MSI file think it is being run from SETUP.EXE
UNPLUGOLD70NAMESPACE,UNPLUGOLD71NAMESPACE: These two properties, when set to "1", automatically integrates the new help pages with any previous help pages already installed. This is helpful when you install documentation updates.
Answered 08/11/2004 by: Jonas Olsson
Senior Yellow Belt

Please log in to comment
0
To facilitate integration of new MSDN Library documentation updates and other help collections into the Visual Studio help collection I wrote a Python script based on Javascript code in the Help Collection Manager.

The script adds all collections not in its exclude list to the Visual Studio help collection. Any collections already plugged-in but listed in the exclude list are removed. After the change a full merge of the index is made.

The script can be found at: http://www.cyd.liu.se/~lexicon/vs2003-helpgen.py

You will need ActivePython, preferrably version 2.3 or later, to run it. ActivePython can be found at http://www.activestate.com/
Answered 08/13/2004 by: Jonas Olsson
Senior Yellow Belt

Please log in to comment
0
ORIGINAL: Jonas Olsson

Example:

ADDLOCAL="Visual_Studio.NET_Professional,Tools_for_Redistributing_Apps,
Visual_Studio_Graphics_Library,Redistributable_Merge_Modules,Crystal_Reports,
VCS_Crystal_Report_Project_Items_,VB7_Crystal_Report_Project_Items,
VC_Crystal_Report_Project_Item,Crystal_Report_Share,
VJ_Crystal_Report_Project_Items,dotNET_Framework_SDK,SDK_Samples_for_VS,
Server_Components_for_Pro_Edition,VS_Remote_Debugger,Full_Remote_Debugging,
Visual_Database_Tools_Sproc_Version,Language_Tools_for_VS_7_Pro,
VB_for_VS7_Pro,SDE_for_VB,VCpp_for_VS_7_Pro,VCpp_Runtime_Libraries,
CRT2_Static_Libraries,CRT3_Shared_Libraries,CRT4_Source_Code,
CRT1_Single_Threaded_Libraries,VCpp_Class_and_Template_Libraries,
ATL_MFC_Static_Libraries_ANSI,ATL_MFC_Shared_Libraries_ANSI,
ATL_MFC_Static_Libraries_Unicode,ATL_MFC_Shared_Libraries_Unicode,
ATL_MFC_Source_Code,VCpp_Tools,Trace_Utility,Spy_Plus_Plus,OLE_Com_Object_Viewer,
ActiveX_Control_Test_Container,Error_Lookup,WebDbg,Platform_SDK_Tools,
VCsh_for_VS_7_Pro,JavaLang_Conversion_Assitant,
SDE_for_VCSh,VJSh_for_VS_Pro,Dotfuscator_Community_Edition"



Or just ADDLOCAL=All

Had to read up on this when doing a new package .. thanks again for the input *s*

/Bart [8|]
Answered 10/19/2005 by: Bartesque
Orange Senior Belt

Please log in to comment
0
I have made a package basically along the same lines as stated above. Everything works fine when installing except I am having problems uninstalling the application, it first looks to the folder from which it was installed when I go to uninstall. I tried to to do some regshots after changing this information but nothing refering to the application changes. Anyone running into this problem?
Answered 11/18/2005 by: s0n
Yellow Belt

Please log in to comment
0
Jonas, thanks for letting us know the solution to this. Perhaps if you have a moment you could copy it to the Package Knowledge Base
Answered 11/21/2005 by: aogilmor
Ninth Degree Black Belt

Please log in to comment
Answer this question or Comment on this question for clarity