chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
Welcome to Typemock Community! Here you can ask and receive answers from other community members. If you liked or disliked an answer or thread: react with an up- or downvote.
0 votes
Hi,
My machine is Windows XP. I am having VS.Net 2003 installed. I have admin rights to my machine. When I am trying to install the latest version (4.0.3) of TypeMock, I am getting the following error:
Error writing to file: Typemock.dll. Verify that you have access to that directory.

After this, the installation rolls back.
I am having full control over my Program Files folder.

Any help will be greatly appreciated.

Regards,
Raji
asked by raji2678 (640 points)

9 Answers

0 votes
Hi
It could be that TypeMock.dll is referenced by other assembly.
Try reboot your machine, uninstall previous installation
and than install the new version.
answered by ohad (35.4k points)
0 votes
If that doesn't work run the installation with logs:
msiexec  /l*v install.log /i TypeMockSetup403.msi

Please post the logs here.
answered by scott (32k points)
0 votes
Thanks for your reply folks.

Ohad, since this is the first time I am installing TypeMock, there is no question of previous versions existing. I tried rebooting, but it did not work.

Scott, I have posted the log file.

=== Verbose logging started: 8/7/2007 14:12:41 Build type: SHIP UNICODE 3.01.4000.2435 Calling process: D:Write Heremsiexec.exe ===
MSI (c) (98:6C) [14:12:41:200]: Resetting cached policy values
MSI (c) (98:6C) [14:12:41:200]: Machine policy value 'Debug' is 0
MSI (c) (98:6C) [14:12:41:200]: ******* RunEngine:
******* Product: d:RajiTypeMockSetup403.msi
******* Action:
******* CommandLine: **********
MSI (c) (98:6C) [14:12:41:200]: Machine policy value 'DisableUserInstalls' is 0
MSI (c) (98:6C) [14:12:41:403]: SOFTWARE RESTRICTION POLICY: Verifying package --> 'd:RajiTypeMockSetup403.msi' against software restriction policy
MSI (c) (98:6C) [14:12:41:403]: Note: 1: 2262 2: DigitalSignature 3: -2147287038
MSI (c) (98:6C) [14:12:41:403]: SOFTWARE RESTRICTION POLICY: d:RajiTypeMockSetup403.msi is not digitally signed
MSI (c) (98:6C) [14:12:41:419]: SOFTWARE RESTRICTION POLICY: d:RajiTypeMockSetup403.msi is permitted to run at the 'unrestricted' authorization level.
MSI (c) (98:6C) [14:12:42:076]: Cloaking enabled.
MSI (c) (98:6C) [14:12:42:076]: Attempting to enable all disabled priveleges before calling Install on Server
MSI (c) (98:6C) [14:12:42:107]: End dialog not enabled
MSI (c) (98:6C) [14:12:42:107]: Original package ==> d:RajiTypeMockSetup403.msi
MSI (c) (98:6C) [14:12:42:107]: Package we're running from ==> C:DOCUME~1RAJESH~1LOCALS~1Temp afc58.msi
MSI (c) (98:6C) [14:12:42:169]: APPCOMPAT: looking for appcompat database entry with ProductCode '{AD8D0EF1-2BA3-4224-85B1-2AFECC34F8F3}'.
MSI (c) (98:6C) [14:12:42:169]: APPCOMPAT: no matching ProductCode found in database.
MSI (c) (98:6C) [14:12:42:185]: MSCOREE not loaded loading copy from system32
MSI (c) (98:6C) [14:12:42:341]: Machine policy value 'TransformsSecure' is 0
MSI (c) (98:6C) [14:12:42:341]: User policy value 'TransformsAtSource' is 0
MSI (c) (98:6C) [14:12:42:357]: Machine policy value 'DisablePatch' is 0
MSI (c) (98:6C) [14:12:42:357]: Machine policy value 'AllowLockdownPatch' is 0
MSI (c) (98:6C) [14:12:42:357]: Machine policy value 'DisableLUAPatching' is 0
MSI (c) (98:6C) [14:12:42:373]: Machine policy value 'DisableFlyWeightPatching' is 0
MSI (c) (98:6C) [14:12:42:373]: APPCOMPAT: looking for appcompat database entry with ProductCode '{AD8D0EF1-2BA3-4224-85B1-2AFECC34F8F3}'.
MSI (c) (98:6C) [14:12:42:373]: APPCOMPAT: no matching ProductCode found in database.
MSI (c) (98:6C) [14:12:42:373]: Transforms are not secure.
MSI (c) (98:6C) [14:12:42:373]: Command Line: CURRENTDIRECTORY=D:Write Here CLIENTUILEVEL=0 CLIENTPROCESSID=4504
MSI (c) (98:6C) [14:12:42:373]: PROPERTY CHANGE: Adding PackageCode property. Its value is '{2246E15F-C206-46A2-9BEE-44A8649543FF}'.
MSI (c) (98:6C) [14:12:42:373]: Product Code passed to Engine.Initialize: ''
MSI (c) (98:6C) [14:12:42:373]: Product Code from property table before transforms: '{AD8D0EF1-2BA3-4224-85B1-2AFECC34F8F3}'
MSI (c) (98:6C) [14:12:42:373]: Product Code from property table after transforms: '{AD8D0EF1-2BA3-4224-85B1-2AFECC34F8F3}'
MSI (c) (98:6C) [14:12:42:373]: Product not registered: beginning first-time install
MSI (c) (98:6C) [14:12:42:373]: PROPERTY CHANGE: Adding ProductState property. Its value is '-1'.
MSI (c) (98:6C) [14:12:42:373]: Entering CMsiConfigurationManager::SetLastUsedSource.
MSI (c) (98:6C) [14:12:42:373]: User policy value 'SearchOrder' is 'nmu'
MSI (c) (98:6C) [14:12:42:388]: Adding new sources is allowed.
MSI (c) (98:6C) [14:12:42:388]: PROPERTY CHANGE: Adding PackagecodeChanging property. Its value is '1'.
MSI (c) (98:6C) [14:12:42:388]: Package name extracted from package path: 'TypeMockSetup403.msi'
MSI (c) (98:6C) [14:12:42:388]: Package to be registered: 'TypeMockSetup403.msi'
MSI (c) (98:6C) [14:12:42:388]: Note: 1: 2205 2: 3: Error
MSI (c) (98:6C) [14:12:42:388]: Note: 1: 2729
MSI (c) (98:6C) [14:12:42:545]: Note: 1: 2729
MSI (c) (98:6C) [14:12:42:576]: Note: 1: 2729
MSI (c) (98:6C) [14:12:42:576]: Note: 1: 2729
MSI (c) (98:6C) [14:12:42:576]: Note: 1: 2729
MSI (c) (98:6C) [14:12:42:576]: Note: 1: 2729
MSI (c) (98:6C) [14:12:42:576]: Note: 1: 2729
MSI (c) (98:6C) [14:12:42:576]: Note: 1: 2729
MSI (c) (98:6C) [14:12:42:576]: Note: 1: 2729
MSI (c) (98:6C) [14:12:42:576]: Note: 1: 2729
MSI (c) (98:6C) [14:12:42:576]: Note: 1: 2729
MSI (c) (98:6C) [14:12:42:576]: Note: 1: 2729
MSI (c) (98:6C) [14:12:42:576]: Note: 1: 2729
MSI (c) (98:6C) [14:12:42:576]: Note: 1: 2729
MSI (c) (98:6C) [14:12:42:576]: Note: 1: 2729
MSI (c) (98:6C) [14:12:42:576]: Note: 1: 2729
MSI (c) (98:6C) [14:12:42:576]: Note: 1: 2262 2: AdminProperties 3: -2147287038
MSI (c) (98:6C) [14:12:42:576]: Machine policy value 'DisableMsi' is 0
MSI (c) (98:6C) [14:12:42:576]: Machine policy value 'AlwaysInstallElevated' is 0
MSI (c) (98:6C) [14:12:42:576]: User policy value 'AlwaysInstallElevated' is 0
MSI (c) (98:6C) [14:12:42:576]: Product installation will be elevated because user is admin and product is being installed per-machine.
MSI (c) (98:6C) [14:12:42:576]: Running product '{AD8D0EF1-2BA3-4224-85B1-2AFECC34F8F3}' with elevated privileges: Product is assigned.
MSI (c) (98:6C) [14:12:42:576]: PROPERTY CHANGE: Adding CURRENTDIRECTORY property. Its value is 'D:Write Here'.
MSI (c) (98:6C) [14:12:42:576]: PROPERTY CHANGE: Adding CLIENTUILEVEL property. Its value is '0'.
MSI (c) (98:6C) [14:12:42:576]: PROPERTY CHANGE: Adding CLIENTPROCESSID property. Its value is '4504'.
MSI (c) (98:6C) [14:12:42:576]: TRANSFORMS property is now:
MSI (c) (98:6C) [14:12:42:576]: PROPERTY CHANGE: Adding VersionDatabase property. Its value is '200'.
MSI (c) (98:6C) [14:12:42:576]: SHELL32::SHGetFolderPath returned: C:Documents and Settings ajeshwarirApplication Data
MSI (c) (98:6C) [14:12:42:576]: SHELL32::SHGetFolderPath returned: C:Documents and Settings ajeshwarirFavorites
MSI (c) (98:6C) [14:12:42:576]: SHELL32::SHGetFolderPath returned: C:Documents and Settings ajeshwarirNetHood
MSI (c) (98:6C) [14:12:42:576]: SHELL32::SHGetFolderPath returned: C:Documents and Settings ajeshwarirMy Documents
MSI (c) (98:6C) [14:12:42:576]: SHELL32::SHGetFolderPath returned: C:Documents and Settings ajeshwarirPrintHood
MSI (c) (98:6C) [14:12:42:576]: SHELL32::SHGetFolderPath returned: C:Documents and Settings ajeshwarirRecent
MSI (c) (98:6C) [14:12:42:576]: SHELL32::SHGetFolderPath returned: C:Documents and Settings ajeshwarirSendTo
MSI (c) (98:6C) [14:12:42:576]: SHELL32::SHGetFolderPath returned: C:Documents and Settings ajeshwarirTemplates
MSI (c) (98:6C) [14:12:42:576]: SHELL32::SHGetFolderPath returned: C:Documents and SettingsAll UsersApplication Data
MSI (c) (98:6C) [14:12:42:576]: SHELL32::SHGetFolderPath returned: C:Documents and Settings ajeshwarirLocal SettingsApplication Data
MSI (c) (98:6C) [14:12:42:576]: SHELL32::SHGetFolderPath returned: C:Documents and Settings ajeshwarirMy DocumentsMy Pictures
MSI (c) (98:6C) [14:12:42:592]: SHELL32::SHGetFolderPath returned: C:Documents and SettingsAll UsersStart MenuProgramsAdministrative Tools
MSI (c) (98:6C) [14:12:42:639]: SHELL32::SHGetFolderPath returned: C:Documents and SettingsAll UsersStart MenuProgramsStartup
MSI (c) (98:6C) [1
answered by raji2678 (640 points)
0 votes
Hi
I've taken this offline.
I sent you a mail with suggestions how to continue.
Please check it.
answered by ohad (35.4k points)
0 votes
I am facing same problem but did not get through. Please find attached install log below. I hope that I will hear very soon from you.

Thanks,
Sachi

Install LOG:
===========================

=== Verbose logging started: 9/11/2007 17:31:16 Build type: SHIP UNICODE 3.01.4000.4039 Calling process: C:WINDOWSsystem32msiexec.exe ===
MSI (c) (54:E0) [17:31:16:031]: Resetting cached policy values
MSI (c) (54:E0) [17:31:16:031]: Machine policy value 'Debug' is 0
MSI (c) (54:E0) [17:31:16:031]: ******* RunEngine:
******* Product: TypeMockSetup403.msi
******* Action:
******* CommandLine: **********
MSI (c) (54:E0) [17:31:16:031]: Machine policy value 'DisableUserInstalls' is 0
MSI (c) (54:E0) [17:31:16:062]: SOFTWARE RESTRICTION POLICY: Verifying package --> 'C:TypeMockSetup403.msi' against software restriction policy
MSI (c) (54:E0) [17:31:16:062]: Note: 1: 2262 2: DigitalSignature 3: -2147287038
MSI (c) (54:E0) [17:31:16:062]: SOFTWARE RESTRICTION POLICY: C:TypeMockSetup403.msi is not digitally signed
MSI (c) (54:E0) [17:31:16:062]: SOFTWARE RESTRICTION POLICY: C:TypeMockSetup403.msi is permitted to run at the 'unrestricted' authorization level.
MSI (c) (54:E0) [17:31:16:078]: Cloaking enabled.
MSI (c) (54:E0) [17:31:16:078]: Attempting to enable all disabled priveleges before calling Install on Server
MSI (c) (54:E0) [17:31:16:093]: End dialog not enabled
MSI (c) (54:E0) [17:31:16:093]: Original package ==> C:TypeMockSetup403.msi
MSI (c) (54:E0) [17:31:16:093]: Package we're running from ==> C:DOCUME~1 ationalLOCALS~1Temp8ef4ae.msi
MSI (c) (54:E0) [17:31:16:093]: APPCOMPAT: looking for appcompat database entry with ProductCode '{AD8D0EF1-2BA3-4224-85B1-2AFECC34F8F3}'.
MSI (c) (54:E0) [17:31:16:093]: APPCOMPAT: no matching ProductCode found in database.
MSI (c) (54:E0) [17:31:16:250]: MSCOREE not loaded loading copy from system32
MSI (c) (54:E0) [17:31:16:281]: Machine policy value 'TransformsSecure' is 0
MSI (c) (54:E0) [17:31:16:281]: User policy value 'TransformsAtSource' is 0
MSI (c) (54:E0) [17:31:16:281]: Machine policy value 'DisablePatch' is 0
MSI (c) (54:E0) [17:31:16:281]: Machine policy value 'AllowLockdownPatch' is 0
MSI (c) (54:E0) [17:31:16:281]: Machine policy value 'DisableLUAPatching' is 0
MSI (c) (54:E0) [17:31:16:281]: Machine policy value 'DisableFlyWeightPatching' is 0
MSI (c) (54:E0) [17:31:16:281]: APPCOMPAT: looking for appcompat database entry with ProductCode '{AD8D0EF1-2BA3-4224-85B1-2AFECC34F8F3}'.
MSI (c) (54:E0) [17:31:16:281]: APPCOMPAT: no matching ProductCode found in database.
MSI (c) (54:E0) [17:31:16:281]: Transforms are not secure.
MSI (c) (54:E0) [17:31:16:281]: Command Line: CURRENTDIRECTORY=C: CLIENTUILEVEL=0 CLIENTPROCESSID=2644
MSI (c) (54:E0) [17:31:16:281]: PROPERTY CHANGE: Adding PackageCode property. Its value is '{2246E15F-C206-46A2-9BEE-44A8649543FF}'.
MSI (c) (54:E0) [17:31:16:281]: Product Code passed to Engine.Initialize: ''
MSI (c) (54:E0) [17:31:16:281]: Product Code from property table before transforms: '{AD8D0EF1-2BA3-4224-85B1-2AFECC34F8F3}'
MSI (c) (54:E0) [17:31:16:281]: Product Code from property table after transforms: '{AD8D0EF1-2BA3-4224-85B1-2AFECC34F8F3}'
MSI (c) (54:E0) [17:31:16:281]: Product not registered: beginning first-time install
MSI (c) (54:E0) [17:31:16:281]: PROPERTY CHANGE: Adding ProductState property. Its value is '-1'.
MSI (c) (54:E0) [17:31:16:281]: Entering CMsiConfigurationManager::SetLastUsedSource.
MSI (c) (54:E0) [17:31:16:281]: User policy value 'SearchOrder' is 'nmu'
MSI (c) (54:E0) [17:31:16:281]: Adding new sources is allowed.
MSI (c) (54:E0) [17:31:16:281]: PROPERTY CHANGE: Adding PackagecodeChanging property. Its value is '1'.
MSI (c) (54:E0) [17:31:16:281]: Package name extracted from package path: 'TypeMockSetup403.msi'
MSI (c) (54:E0) [17:31:16:281]: Package to be registered: 'TypeMockSetup403.msi'
MSI (c) (54:E0) [17:31:16:281]: Note: 1: 2205 2: 3: Error
MSI (c) (54:E0) [17:31:16:281]: Note: 1: 2729
MSI (c) (54:E0) [17:31:16:281]: Note: 1: 2729
MSI (c) (54:E0) [17:31:16:281]: Note: 1: 2729
MSI (c) (54:E0) [17:31:16:281]: Note: 1: 2729
MSI (c) (54:E0) [17:31:16:281]: Note: 1: 2729
MSI (c) (54:E0) [17:31:16:281]: Note: 1: 2729
MSI (c) (54:E0) [17:31:16:281]: Note: 1: 2729
MSI (c) (54:E0) [17:31:16:281]: Note: 1: 2729
MSI (c) (54:E0) [17:31:16:281]: Note: 1: 2729
MSI (c) (54:E0) [17:31:16:296]: Note: 1: 2729
MSI (c) (54:E0) [17:31:16:296]: Note: 1: 2729
MSI (c) (54:E0) [17:31:16:296]: Note: 1: 2729
MSI (c) (54:E0) [17:31:16:296]: Note: 1: 2729
MSI (c) (54:E0) [17:31:16:296]: Note: 1: 2729
MSI (c) (54:E0) [17:31:16:296]: Note: 1: 2729
MSI (c) (54:E0) [17:31:16:296]: Note: 1: 2729
MSI (c) (54:E0) [17:31:16:296]: Note: 1: 2262 2: AdminProperties 3: -2147287038
MSI (c) (54:E0) [17:31:16:296]: Machine policy value 'DisableMsi' is 0
MSI (c) (54:E0) [17:31:16:296]: Machine policy value 'AlwaysInstallElevated' is 0
MSI (c) (54:E0) [17:31:16:296]: User policy value 'AlwaysInstallElevated' is 0
MSI (c) (54:E0) [17:31:16:296]: Product installation will be elevated because user is admin and product is being installed per-machine.
MSI (c) (54:E0) [17:31:16:296]: Running product '{AD8D0EF1-2BA3-4224-85B1-2AFECC34F8F3}' with elevated privileges: Product is assigned.
MSI (c) (54:E0) [17:31:16:296]: PROPERTY CHANGE: Adding CURRENTDIRECTORY property. Its value is 'C:'.
MSI (c) (54:E0) [17:31:16:296]: PROPERTY CHANGE: Adding CLIENTUILEVEL property. Its value is '0'.
MSI (c) (54:E0) [17:31:16:296]: PROPERTY CHANGE: Adding CLIENTPROCESSID property. Its value is '2644'.
MSI (c) (54:E0) [17:31:16:296]: TRANSFORMS property is now:
MSI (c) (54:E0) [17:31:16:296]: PROPERTY CHANGE: Adding VersionDatabase property. Its value is '200'.
MSI (c) (54:E0) [17:31:16:296]: SHELL32::SHGetFolderPath returned: C:Documents and Settings ationalApplication Data
MSI (c) (54:E0) [17:31:16:296]: SHELL32::SHGetFolderPath returned: C:Documents and Settings ationalFavorites
MSI (c) (54:E0) [17:31:16:296]: SHELL32::SHGetFolderPath returned: C:Documents and Settings ationalNetHood
MSI (c) (54:E0) [17:31:16:296]: SHELL32::SHGetFolderPath returned: C:Documents and Settings ationalMy Documents
MSI (c) (54:E0) [17:31:16:296]: SHELL32::SHGetFolderPath returned: C:Documents and Settings ationalPrintHood
MSI (c) (54:E0) [17:31:16:296]: SHELL32::SHGetFolderPath returned: C:Documents and Settings ationalRecent
MSI (c) (54:E0) [17:31:16:296]: SHELL32::SHGetFolderPath returned: C:Documents and Settings ationalSendTo
MSI (c) (54:E0) [17:31:16:296]: SHELL32::SHGetFolderPath returned: C:Documents and Settings ationalTemplates
MSI (c) (54:E0) [17:31:16:296]: SHELL32::SHGetFolderPath returned: C:Documents and SettingsAll UsersApplication Data
MSI (c) (54:E0) [17:31:16:296]: SHELL32::SHGetFolderPath returned: C:Documents and Settings ationalLocal SettingsApplication Data
MSI (c) (54:E0) [17:31:16:296]: SHELL32::SHGetFolderPath returned: C:Documents and Settings ationalMy DocumentsMy Pictures
MSI (c) (54:E0) [17:31:16:296]: SHELL32::SHGetFolderPath returned: C:Documents and SettingsAll UsersStart MenuProgramsAdministrative Tools
MSI (c) (54:E0) [17:31:16:296]: SHELL32::SHGetFolderPath returned: C:Documents and SettingsAll UsersStart MenuProgramsStartup
MSI (c) (54:E0) [17:31:16:296]: SHELL32::SHGetFolderPath returned: C:Documents and SettingsAll UsersStar
answered by tintin1 (180 points)
0 votes
Hi,
Thanks for reporting this, please tell us what operating system you are using.
answered by scott (32k points)
0 votes
Hi,

Thanks for your reply. I am using XP Professional Version 2002 with SP2. I hope this helps you to analyze this problem.

Thanks,
Sachi
answered by tintin1 (180 points)
0 votes
Sachi hi,

Thank you for reporting this.
There is a problem with installation on machines that has .NET 1.1 framework only. (The problem is a new one from version 4.00). We have managed to locate the problem and I will sent you a fixed MSI offline.

Please let me know if this solved your problem.
answered by lior (13.2k points)
0 votes
Hi all,

Just wanted to let you know that a fix for his problem was included in our 4.1.0 release.

Please let me know if you encounter any more problem installing TypeMock.
answered by lior (13.2k points)
...