I have one entry in my Movefiles table. It has a unique key, and both the SourceFolder and DestFolder are set to values from the Directory table. The DestFolder is INSTALLDIR, and the SourceFolder value is LICENSEDIR, which I set using a Set Directory custom action in the execute sequence after RemoveFolders.
My problem is that this works fine on Windows XP, but not on a Windows 2k Server Service Pack 3 machine (i don't think the service pack level really affects it much, just mentioning it to be complete). The MsiExec version on the 2k machine is 2.0.2600.
Any idea why the movefile entry isn't working?
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
MoveFile table not working on 2k
Started by
SeanH
, Jun 09 2005 21:47
3 replies to this topic
Posted 10 June 2005 - 15:51
Try generating a verbose log to see what's going on.
Stefan Krüger
InstallSite.org twitter facebook
Posted 10 June 2005 - 17:03
i tried that, it was surprisingly unuseful as far as I could tell. Here were what I thought the relevant lines would be:
MSI (s) (58:60): Doing action: RemoveFiles
Action start 14:54:12: RemoveFiles.
Action ended 14:54:12: RemoveFiles. Return value 1.
MSI (s) (58:60): Doing action: RemoveFolders
Action start 14:54:12: RemoveFolders.
MSI (s) (58:60): Note: 1: 2262 2: CreateFolder 3: -2147287038
MSI (s) (58:60): Note: 1: 2262 2: LockPermissions 3: -2147287038
Action ended 14:54:12: RemoveFolders. Return value 1.
MSI (s) (58:60): Doing action: CreateFolders
Action start 14:54:12: CreateFolders.
MSI (s) (58:60): Note: 1: 2262 2: CreateFolder 3: -2147287038
MSI (s) (58:60): Note: 1: 2262 2: LockPermissions 3: -2147287038
Action ended 14:54:12: CreateFolders. Return value 1.
MSI (s) (58:60): Doing action: MoveFiles
Action start 14:54:12: MoveFiles.
Action ended 14:54:12: MoveFiles. Return value 1.
MSI (s) (58:60): Doing action: InstallFiles
Action start 14:54:12: InstallFiles.
MSI (s) (58:60): Doing action: RemoveFiles
Action start 14:54:12: RemoveFiles.
Action ended 14:54:12: RemoveFiles. Return value 1.
MSI (s) (58:60): Doing action: RemoveFolders
Action start 14:54:12: RemoveFolders.
MSI (s) (58:60): Note: 1: 2262 2: CreateFolder 3: -2147287038
MSI (s) (58:60): Note: 1: 2262 2: LockPermissions 3: -2147287038
Action ended 14:54:12: RemoveFolders. Return value 1.
MSI (s) (58:60): Doing action: CreateFolders
Action start 14:54:12: CreateFolders.
MSI (s) (58:60): Note: 1: 2262 2: CreateFolder 3: -2147287038
MSI (s) (58:60): Note: 1: 2262 2: LockPermissions 3: -2147287038
Action ended 14:54:12: CreateFolders. Return value 1.
MSI (s) (58:60): Doing action: MoveFiles
Action start 14:54:12: MoveFiles.
Action ended 14:54:12: MoveFiles. Return value 1.
MSI (s) (58:60): Doing action: InstallFiles
Action start 14:54:12: InstallFiles.
Posted 13 June 2005 - 11:35
Looks like your custom action is not getting executed. It's not even listed in the log. Are you sure you're testing the correct msi on this machine? (is this a fresh image? did you change the PackageCode GUID?)
Stefan Krüger
InstallSite.org twitter facebook