[wix-users] Missing directory when update product

bpettorelli.ext at orange.com bpettorelli.ext at orange.com
Thu Oct 1 01:27:04 PDT 2015


Hi,
I'm been dropped to solve issues of product install and I'm stumped to the update/upgrade process.

Let say, we have multiple products based on the same GUI but using different drivers and devices.
For the sample, I took 2 products.
Product 1 : Prod_195 contains the UI and a Drivers/Windows/x86 directory
Product 2 : Prod_192 contains the same structure

If I install/uninstall single product, everything goes well.

Now, I install Prod_195 and upgrade with Prod_192.

Both wxi fragment files contains :
<Directory Id="Prod_XXX_Drivers" Name="Drivers">
	<Component Id="Prod_XXX_Drivers" Guid="DRIVER_GUID">
	<Files . />
	</Component>
	<Directory Id="Prod_XXX_Windows" Name="Windows">
		<Component Id="Prod_XXX_Windows" Guid="WINDOWS_GUID">
			<Files . />
		</Component>
		<Directory Id="Prod_XXX_Windowsx86" Name="x86">
			<Component Id="Prod_XXX_Windowsx86" Guid="WINDOWSX86_GUID">
				<Files . />
			</Component>
		</Directory>
	</Directory>
</Directory>

In the upgrade process, I believe that MSI when it uninstalls Prod195, it deletes the directory Windows and its subdirectories.
But at the end, the MSI did not create the new Windows/x86 directory.

In the log, I found :

MSI (s) (AC:8C) [20:02:08:484]: Component: Prod_192_Windows; Installed: Absent;   Request: Local;   Action: Local
MSI (s) (AC:8C) [20:02:08:484]: Component: Prod_192_Windowsx86; Installed: Absent;   Request: Local;   Action: Null

MSI (s) (AC:98) [20:02:18:843]: Component: Prod_195_Windows; Installed: Local;   Request: Absent;   Action: Absent
MSI (s) (AC:98) [20:02:18:843]: Component: Prod_195_Windowsx86; Installed: Local;   Request: Absent;   Action: Absent


>From the log, I gess Action value will configure how the component will be installed. I'm right ? 

Does it exist a way to force the creation of the subdirectories of Windows?
I tried the Dependency Extension but I did not figure how to make it works.

Regards,
Bruno Pettorelli


_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.

This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.



More information about the wix-users mailing list