[WiX-users] Uninstall and util:RemoveFolderEx - not working

2015-05-06 Thread ronif
Hi, util:RemoveFolderEx - doesn't seem to work.. I'm trying to delete the installation folder and its contents upon uninstall (the contents were created after installation by the app so they are left on the drive after uninstall). What am I doing wrong? code: Property

Re: [WiX-users] Uninstall and util:RemoveFolderEx - not working

2015-05-06 Thread ronif
Hi, thanks for your answer, so what is the best way to be able to reference an msiproperty i get from burn? MsiPackage Id=MsiPackage SourceFile=$(var.Deployment.Package.TargetPath) MsiProperty Name=InstallationPath Value=[InstallationPath] /

Re: [WiX-users] Uninstall and util:RemoveFolderEx - not working

2015-05-06 Thread ronif
Thanks for your help John! -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Uninstall-and-util-RemoveFolderEx-not-working-tp7600191p7600196.html Sent from the wix-users mailing list archive at Nabble.com.

Re: [WiX-users] Uninstall and util:RemoveFolderEx - not working

2015-05-06 Thread ronif
OK, problem solved, I had one file that was locked, that failed the deletion operation, Thanks for all your help! -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Uninstall-and-util-RemoveFolderEx-not-working-tp7600191p7600206.html Sent from the

Re: [WiX-users] Uninstall and util:RemoveFolderEx - not working

2015-05-06 Thread ronif
Sorry for that, SHOULDDELETEINSTALLATIONFOLDER = TRUE wrapped with CDATA.. where the property is set from burn -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Uninstall-and-util-RemoveFolderEx-not-working-tp7600191p7600205.html Sent from the

Re: [WiX-users] Uninstall and util:RemoveFolderEx - not working

2015-05-06 Thread ronif
Hi again, you were correct about the property but for some reason the folder is still not being delete.. Here are the relevant lines from the log: MSI (s) (A8:90) [07:55:51:893]: Doing action: SetInstallationPathProperty Action ended 7:55:51: ValidateProductID. Return value 1. MSI (s) (A8:90)

Re: [WiX-users] Uninstall and util:RemoveFolderEx - not working

2015-05-06 Thread ronif
The inner text is: Component Id=InstalladtionPathCleanup Directory=InstallationPath Guid=A4E116FE-B9C9-499C-BBC5-27BC88B21945 Condition /Condition CreateFolder Directory=InstallationPath / util:RemoveFolderEx

Re: [WiX-users] Restart - setting from CA and checking from Custon BA

2015-04-28 Thread ronif
Thanks for your answers! eventually I ended up doing this: from CA: session.SetMode(InstallRunMode.RebootNow, true); return ActionResult.SkipRemainingActions; and from CBA: private void BootstrapperApplication_ExecutePackageComplete(object sender, ExecutePackageCompleteEventArgs

[WiX-users] Installing windows features with wix

2015-04-28 Thread ronif
Hi, Is there a way to install OS features with wix? I am currently doing it with a custom action that uses dism.exe but I was wandering whether a better way exists. Thanks in advance, Roni -- View this message in context:

Re: [WiX-users] Custom Bootstrapper Application - accessing variables set at custom actions

2015-04-28 Thread ronif
Thanks Nir, I didn't know this before, it is indeed helpful. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Custom-Bootstrapper-Application-accessing-variables-set-at-custom-actions-tp7600107p7600119.html Sent from the wix-users mailing list

[WiX-users] LogLevel.Error - Custom bootstrapper application

2015-04-27 Thread ronif
Hi everyone, I've wrote a custom bootstrapper application, and I've noticed that LogLevel.Error are not written to the log file, while LogLevel.Verbose does. Why is that? how can a lower level verbosity be written while a higher one is not? Thanks, Roni -- View this message in context:

[WiX-users] Custom Bootstrapper Application - accessing variables set at custom actions

2015-04-27 Thread ronif
Hi, Is it possible to access a variable I set on a Custom Action? There is an example for code that does not work for me: CA: [CustomAction] public static ActionResult CA1(Session session) { session[BLABLA] = BlaBla5; return ActionResult.Failure;

[WiX-users] Restart - setting from CA and checking from Custon BA

2015-04-27 Thread ronif
Hi, Is it possible to set in my c# Custom action that a restart is required and to check it from my WPF custom bootstrapper application? -- View this message in context:

Re: [WiX-users] How to include an entire folder as payload for my custom bootstrapper application?

2015-04-20 Thread ronif
Thanks Nir, that's a good idea. Just one last question, if I'll use heat to harvest the folder, will I be able to maintain the sub-folder structure or will they all lay flat as payloads at the temp folder while running the installer? -- View this message in context:

Re: [WiX-users] How to include an entire folder as payload for my custom bootstrapper application?

2015-04-19 Thread ronif
Hi Rob, Thanks for your answer, So there is no way to include a folder without specifying all the files inside? I wanted to avoid that because those files might change and I want to include them all automatically. -- View this message in context:

Re: [WiX-users] Burn - ExePackage/@SourceFile - How to set to a dynamic path

2015-01-26 Thread ronif
any ideas someone? shouldn't this be relatively simple? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-ExePackage-SourceFile-How-to-set-to-a-dynamic-path-tp7598962p7599001.html Sent from the wix-users mailing list archive at Nabble.com.

Re: [WiX-users] Burn - ExePackage/@SourceFile - How to set to a dynamic path

2015-01-26 Thread ronif
Hi Phill, Thanks for your answer. what do you mean by 'custom action' type behavior? the only thing I'm trying to do is run an exe, and the exe's path depends on 2 variables (windows folder, and versionNT). Why can't I do this in Burn? why does the path have to be predefined? I don't understand

[WiX-users] Burn - ExePackage/@SourceFile - How to set to a dynamic path

2015-01-22 Thread ronif
Hi, I need to set a path to an exe dynamically (depending on .Net version), and I don't know how (tried using wix/burn variables). I'm also trying to use burn built-in variables ([WindowsFolder] and [VersionNT]). no success. my code: Fragment WixVariable Id=AspnetRegiisExe

Re: [WiX-users] Uniting Burn and WiX(MSI) projects

2015-01-13 Thread ronif
Thanks guys! -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Uniting-Burn-and-WiX-MSI-projects-tp7598834p7598847.html Sent from the wix-users mailing list archive at Nabble.com.

[WiX-users] Uniting Burn and WiX(MSI) projects

2015-01-12 Thread ronif
Hi, Is it possible to have only one project the contains both Burn related parts (installing prerequisites,...) and regular MSI parts? (i.e. uniting bundle and product?) -- View this message in context:

Re: [WiX-users] Installing certificate in the 'Personal' store (How to mark as exportable?)

2015-01-06 Thread ronif
Hi again, how can I mark this certificate's key as exportable (an option I have while manually installing the certificate/in c#)? I need to be able to retrieve the private key. Binary Id=GWBinary SourceFile=Resources\Certificates\GWCertificate.pfx / Component Id=GWCertificate.pfx

Re: [WiX-users] Installing certificate in the 'Personal' store

2015-01-01 Thread ronif
Thank you for all the answers! :) -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Installing-certificate-in-the-Personal-store-tp7598665p7598700.html Sent from the wix-users mailing list archive at Nabble.com.

Re: [WiX-users] Installing certificate in the 'Personal' store

2014-12-31 Thread ronif
Thanks for all the answers! one more question: How can I avoid leaving the password for my certificate in plaintext @ the element? Is there a way to encrypt it? (and you were right about the File tag, I replaced it with CreateFolder / because every component needs to make sure it has a