Jump to content


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.
Photo

MoveFile table


3 replies to this topic

Jim S

Jim S
  • Members
  • 32 posts

Posted 04 September 2001 - 22:17

I am getting an error 1606 when I try to use the MoveFile table in my installation. Here are the relevant table entries I have created:

MoveFile table
 FileKey:  MWCaps
 Component_:  ISX_COMPONENT_35
 SourceName:  MWCaps.tbl
 DestName:  (null)
 SourceFolder:  DATAFILESFOLDER
 DestFolder:  TEMPFOLDER

Property table
 Property:  DATAFILESFOLDER
 Value:  [INSTALLDIR]\Data Files\

 Property:  TEMPFOLDER
 Value:  [WindowsFolder]\Temp\

 INSTALLDIR is a property that is set from a registry value during AppSearch. In my tests, I am installing my app into the folder C:\MyApps\MM2010\

When I run my installation, I get error 1606: Could not access location C:\MyApps\MM2010\Data Files.

The location displayed in the error message is the correct Source Folder for the file I am trying to move.

These errors appear in the CostFinalize section of the install log:
------------------
MSI © (EC:C4): Note: 1: 1314 2: [INSTALLDIR]\Data Files\
MSI © (EC:C4): Note: 1: 1606 2: [INSTALLDIR]\Data Files\
Internal Error 2835. ErrorIcon, SetupError
MSI © (EC:C4): Product: Mail Manager 2010 -- Error 1606.Could not access location [INSTALLDIR]\Data Files\.

MSI © (EC:C4): Note: 1: 1606 2: [INSTALLDIR]\Data Files\
Internal Error 2835. ErrorIcon, SetupError
MSI © (EC:C4): Product: Mail Manager 2010 -- Error 1606.Could not access location [INSTALLDIR]\Data Files\.

Action ended 13:34:35: CostFinalize. Return value 3.
------------------

Does anyone see what I am doing wrong?



Ian Blake

Ian Blake
  • Members
  • 483 posts

Posted 05 September 2001 - 09:16

SourceFolder and DestFolder are of type Identifier (not type Formatted) so [PropertyName] clauses are not explanded.  To get around this you could use a type 51 custom action to create your properties.



Jim S

Jim S
  • Members
  • 32 posts

Posted 05 September 2001 - 17:43

Ian,

Thanks for the reply. That solved the problem, and now I can move forward again.  :)