Is this a bug ?
When i update my application then shar ecreated in th einitail install is
removed.
The log is as follows :
Actie gestart 12:06:03: CreateSmbRollback.
CreateSmbRollback:
Actie beeindigd 12:06:03: CreateSmbRollback. Retourwaarde 1.
MSI (s) (70!70) [12:06:03:937]: PROPERTY CHANGE: Adding CreateSmb property.
Its value is 'KINGSERVERC:\Program
Files\king\Data01Iedereen268435456'.
MSI (s) (70!70) [12:06:03:937]: Doing action: CreateSmb
Actie 12:06:03: CreateSmb.
Actie gestart 12:06:03: CreateSmb.
CreateSmb:
Actie beeindigd 12:06:03: CreateSmb. Retourwaarde 1.
Actie beeindigd 12:06:03: ConfigureSmb. Retourwaarde 1.
MSI (s) (70:50) [12:06:03:968]: Doing action: CreateShortcuts
Actie 12:06:03: CreateShortcuts. Bezig met het maken van snelkoppelingen
The wix source is as follows :
<Component Id="Serverwork2" Guid="$(var.GUIDdbshare)" >
<!-- Share de data directory -->
<Registry Id="Reg_sharenamehkcunl" Root="HKCU"
Key="SOFTWARE\Quadrant\$(var.DEF_PAKKETDISPLAY)\$(var.DEF_SIMPLEBUILD)"
Name="Sharenamenl"
Type="string" Value="[DBSHARENAME]" Action="write"
KeyPath="yes"/>
<User Id="everyone" Name="[GROUPEVERYONE]"/>
<FileShare Id="ClientShare" Name="[DBSHARENAME]">
<Permission User="everyone" GenericAll="yes" />
</FileShare>
</Component>
[GROUPEVERYONE] is the name of group 'Everyone', which will be 'Iedereen' on
dutch systems, depending on the language of the OS.
I get the impression that there is no error in creating the file share.
I have a hunch that every thing worked fine until i changed
<RemoveExistingProducts After='InstallFinalize' />
to <RemoveExistingProducts After='InstallInitialize' />
I changed this to solve a bug. Some files were not installed onupdate....
When i update the GUID stays the same for this component. Is this a good or
bad idea ?
regards,
Hugo van Putten
--
View this message in context:
http://www.nabble.com/Fileshare-bug---tf3795033.html#a10733876
Sent from the wix-users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users