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
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] /
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.
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
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
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)
The inner text is:
Component Id=InstalladtionPathCleanup
Directory=InstallationPath
Guid=A4E116FE-B9C9-499C-BBC5-27BC88B21945
Condition
/Condition
CreateFolder Directory=InstallationPath /
util:RemoveFolderEx
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
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:
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
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:
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;
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:
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:
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:
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.
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
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
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.
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:
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
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.
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
23 matches
Mail list logo