Hello,

I am having problems with changing a directory based on input from the uer.  It 
works fine during the initial install, but during modify, the path is set 
correctly, and then inexplicably reset back to its initial value right after 
CostFinalize.  I don't understand why.  How can I stop this property 
(directory), from changing its value at this point?


MSI (s) (B0:40) [13:03:36:299]: Doing action: CostFinalize
MSI (s) (B0:40) [13:03:36:299]: Note: 1: 2205 2:  3: ActionText
Action 13:03:36: CostFinalize. Computing space requirements
Action start 13:03:36: CostFinalize.
MSI (s) (B0:40) [13:03:36:299]: PROPERTY CHANGE: Adding OutOfDiskSpace 
property. Its value is '0'.
MSI (s) (B0:40) [13:03:36:299]: PROPERTY CHANGE: Adding OutOfNoRbDiskSpace 
property. Its value is '0'.
MSI (s) (B0:40) [13:03:36:299]: PROPERTY CHANGE: Adding 
PrimaryVolumeSpaceAvailable property. Its value is '0'.
MSI (s) (B0:40) [13:03:36:299]: PROPERTY CHANGE: Adding 
PrimaryVolumeSpaceRequired property. Its value is '0'.
MSI (s) (B0:40) [13:03:36:299]: PROPERTY CHANGE: Adding 
PrimaryVolumeSpaceRemaining property. Its value is '0'.
MSI (s) (B0:40) [13:03:36:299]: PROPERTY CHANGE: Modifying LOGFILEDIR property. 
Its current value is 'C:\Documents and Settings\All Users\Application 
Data\Microsoft\AGPM\'. Its new value: 'C:\Documents and Settings\All 
Users\Application Data\Microsoft\AGPM'.
MSI (s) (B0:40) [13:03:36:299]: PROPERTY CHANGE: Modifying ARCHIVEFOLDERDIR 
property. Its current value is 'C:\Documents and 
Settings\Administrator\Desktop\two\'. Its new value: 'C:\Documents and 
Settings\Administrator\Desktop\one'.
MSI (s) (B0:40) [13:03:36:299]: PROPERTY CHANGE: Modifying INSTALLDIR property. 
Its current value is 'C:\Program Files\Microsoft\AGPM\Server\'. Its new value: 
'C:\Program Files\Microsoft\AGPM\Server'.
MSI (s) (B0:40) [13:03:36:299]: Note: 1: 2205 2:  3: Patch
MSI (s) (B0:40) [13:03:36:309]: PROPERTY CHANGE: Modifying ARCHIVEFOLDERDIR 
property. Its current value is 'C:\Documents and 
Settings\Administrator\Desktop\one'. Its new value: 'C:\Documents and 
Settings\Administrator\Desktop\one\'.


This is from my Maintenance dialog (where the user chooses to modify install):

<Dialog Id="MaintenanceTypeDlg" Width="370" Height="270" 
Title="$(loc.MaintenanceTypeDlg_Title)">
<Control Id="ChangeButton" Type="PushButton" X="40" Y="65" Width="80" 
Height="17" ToolTip="$(loc.MaintenanceTypeDlgChangeButtonTooltip)" 
Default="yes" Text="$(loc.MaintenanceTypeDlgChangeButton)">
          <Publish Property="WIXUI_INSTALLMODE" Value="Change">1</Publish>
          <!-- call custom action to initialize ARCHIVEFOLDERDIR to 
ARCHIVEEXISTS, because this is a modify,
          so the archive DOES exist, so use that pre-existing value -->
          <Publish Event="DoAction" Value="initArchiveDirModify">1</Publish>  
(Here I am initializing ARCHIVEFOLDERDIR (my directory) to wherever the folder 
currently is, based on a registry key)
          <Publish Property="ARCHIVEFOLDERDIREDIT" 
Value="ARCHIVEFOLDERDIR">1</Publish> ARCHIVEFOLDERDIREDIT is my property linked 
to the pathEdit on the next dialog where the user chooses the path where they 
want this folder.
          <Publish Event="NewDialog" Value="archiveFolderDirDlg">1</Publish>
        </Control>


I can send any other information.

Any help would be very much appreciated!
Thanks,
Lindsay Harris
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to