Re: [WiX-users] Custom action issue when msi is generated on Windows 8.1 and installed on Windows 8 or Windows 7

2014-09-15 Thread sharada boda
Hi,

I used RemoveFolderEx as suggested. But I am still facing the same issue. The 
msi when generated on Windows 8.1 system runs fine and uninstalls fine on other 
Windows 8.1 systems. But it does not uninstall on Windows 8 or Windows 7 system.

Directory Id='LocalAppDataFolder' Name='AppData' 
 Directory Id='localAppData' Name=' + _applicationName + @'

 Component Id='localAppData' Guid='DE25DEA9-534E-405A-A46F-4616DA22FBA3'

 CreateFolder/

 util:RemoveFolderEx On='uninstall' Property='localAppData'/

 RemoveFolder Id='localAppData' On='uninstall' /

 RegistryValue Root='HKCU' Key='Software\[Manufacturer]\[ProductName]' 
Type='string' Value='' KeyPath='yes' /

 /Component

 /Directory

 /Directory

I used the above code and the result is the same. MSI generated on Windows 8.1 
does ​not remove the localAppData folder (when using RemoveFolderEx) on Windows 
7 and Windows 8. 

But the same generated MSI removes the localAppData folder perfectly on other 
Windows 8.1 systems.

Please advice on how to proceed. I’d appreciate any feedback. 



Regards,

Sharada




Sent from Windows Mail





From: sharada boda
Sent: ‎Wednesday‎, ‎September‎ ‎10‎, ‎2014 ‎11‎:‎05‎ ‎AM
To: wix-users@lists.sourceforge.net





Hi Hoover,

The reason why I’m using custom action and calling command prompt and not 
RemoveFolderEx is because I need to:

Always delete the folder on uninstall (which will work with removeFolderEx)


Delete conditionally on upgrade (i.e. I have modified the UI and provided a 
checkbox in InstallDirDlg providing the user an option to delete the data on 
upgrade). 


As far as I know RemoveFolderEx will work on install and uninstall but not for 
upgrade. Please correct me if I’m wrong.

Thank you,

Sharada




Sent from Windows Mail





From: Hoover, Jacob
Sent: ‎Tuesday‎, ‎September‎ ‎9‎, ‎2014 ‎8‎:‎03‎ ‎PM
To: wix-users@lists.sourceforge.net





Why reinvent the wheel?  
http://wixtoolset.org/documentation/manual/v3/xsd/util/removefolderex.html


-Original Message-
From: sharada boda [mailto:sharada.b...@outlook.com] 
Sent: Tuesday, September 09, 2014 6:29 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Custom action issue when msi is generated on Windows 8.1 
and installed on Windows 8 or Windows 7


Hi,

 

I'm calling a custom action on upgrade and delete of an application. The custom 
action essentially deletes certain folders (not part of the installation 
folder) using the command prompt.

 

When the msi is generated on windows 7/ windows 8, and then launched either on 
windows 7/windows 8/windows 8.1 - the custom action works perfectly fine.

 

But, when the msi is generated on windows 8.1 and launched on either windows

7 or windows 8 -- the folders are not being deleted. The same generated msi is 
working fine on other windows 8.1 systems.

 

Please let me know how to address this issue.

 

Regards,

Sharpi.






Sent from Windows Mail
--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce.
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce.
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Custom action issue when msi is generated on Windows 8.1 and installed on Windows 8 or Windows 7

2014-09-09 Thread sharada boda

Hi,

 

I'm calling a custom action on upgrade and delete of an application. The custom 
action essentially deletes certain folders (not part of the installation 
folder) using the command prompt.

 

When the msi is generated on windows 7/ windows 8, and then launched either on 
windows 7/windows 8/windows 8.1 - the custom action works perfectly fine.

 

But, when the msi is generated on windows 8.1 and launched on either windows

7 or windows 8 -- the folders are not being deleted. The same generated msi is 
working fine on other windows 8.1 systems.

 

Please let me know how to address this issue.

 

Regards,

Sharpi.






Sent from Windows Mail
--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce.
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Custom action issue when msi is generated on Windows 8.1 and installed on Windows 8 or Windows 7

2014-09-09 Thread sharada boda
Hi Hoover,

The reason why I’m using custom action and calling command prompt and not 
RemoveFolderEx is because I need to:

Always delete the folder on uninstall (which will work with removeFolderEx)


Delete conditionally on upgrade (i.e. I have modified the UI and provided a 
checkbox in InstallDirDlg providing the user an option to delete the data on 
upgrade). 


As far as I know RemoveFolderEx will work on install and uninstall but not for 
upgrade. Please correct me if I’m wrong.

Thank you,

Sharada




Sent from Windows Mail





From: Hoover, Jacob
Sent: ‎Tuesday‎, ‎September‎ ‎9‎, ‎2014 ‎8‎:‎03‎ ‎PM
To: wix-users@lists.sourceforge.net





Why reinvent the wheel?  
http://wixtoolset.org/documentation/manual/v3/xsd/util/removefolderex.html


-Original Message-
From: sharada boda [mailto:sharada.b...@outlook.com] 
Sent: Tuesday, September 09, 2014 6:29 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Custom action issue when msi is generated on Windows 8.1 
and installed on Windows 8 or Windows 7


Hi,

 

I'm calling a custom action on upgrade and delete of an application. The custom 
action essentially deletes certain folders (not part of the installation 
folder) using the command prompt.

 

When the msi is generated on windows 7/ windows 8, and then launched either on 
windows 7/windows 8/windows 8.1 - the custom action works perfectly fine.

 

But, when the msi is generated on windows 8.1 and launched on either windows

7 or windows 8 -- the folders are not being deleted. The same generated msi is 
working fine on other windows 8.1 systems.

 

Please let me know how to address this issue.

 

Regards,

Sharpi.






Sent from Windows Mail
--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce.
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce.
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users