Thanks John.

Sorry for maybe easy questions here, but we are still new to WiX and therefore 
I could use a bit more information.

1. So you are placing all the dependencies into your Binary Table?
2. When you say you deploy them with a custom action, how do you extra them 
from the custom action table to the TEMP folder?

Do you have an example code that I could review?

Thanks,

Tim.

From: John Cooper-2 [via Windows Installer XML (WiX) toolset] 
[mailto:ml-node+s687559n7585350...@n2.nabble.com]
Sent: Monday, April 22, 2013 2:15 PM
To: Tim Mayert
Subject: Re: Custom Action triggered from Support Directory

The preferred method I like to use is to:

1) carry around my binary dependencies for a custom action in the Binary Table;
2) deploy them and set them up with a preparatory custom action in a sub-bolder 
of the TEMP tree;
3) run the custom action itself from inside that sub-folder;
4) clean up the binaries and files after a successful run (so I don't leave 
anything behind for a security exploit);

This is the technique I use for both my VsdbCmd custom actions and my 
SqlPackage custom actions which have dependencies on the vsdbcmd.exe family and 
the sqlpackage.exe family respectively.

--
John Merryweather Cooper
Build & Install Engineer - ESA
Jack Henry & Associates, Inc.®
Shawnee Mission, KS  66227
Office:  913-341-3434 x791011
[hidden email]</user/SendEmail.jtp?type=node&node=7585350&i=0>
www.jackhenry.com




-----Original Message-----
From: Hoover, Jacob [mailto:[hidden 
email]</user/SendEmail.jtp?type=node&node=7585350&i=1>]
Sent: Monday, April 22, 2013 2:47 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Custom Action triggered from Support Directory

Burn would support this, via Payload elements. In 3.8, the current directory is 
set to the folder for the payload when the Package is being executed.

-----Original Message-----
From: TimM [mailto:[hidden 
email]</user/SendEmail.jtp?type=node&node=7585350&i=2>]
Sent: Monday, April 22, 2013 1:58 PM
To: [hidden email]</user/SendEmail.jtp?type=node&node=7585350&i=3>
Subject: [WiX-users] Custom Action triggered from Support Directory

Hello,

We are converting over one of our InstallShield install project to WiX and 
would like to know if WiX has a install support folder?

Our InstallShield project has a custom action that calls an app that requires 5 
files to be in the same folder so that the custom action works.
These files are not installed and therefore are simply ran from the Support 
folder.

So on converting this over to WiX I was not able to find reference to an 
install support folder. So my question is does WiX create and use a Support 
folder to run custom actions that require main file and dependency/support 
files to be within that folder?



If this is not supported then we'll have to look at either creating a custom 
action to install the files, trigger the main custom actions, and then when 
complete remove those files/folder. Or simply install the custom action files 
into subfolder and remove them all during uninstall.

Thanks,

Tim.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Custom-Action-triggered-from-Support-Directory-tp7585344.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced analytics on 
semi-structured data. The platform includes APIs for building apps and a 
phenomenal toolset for data science. Developers can use our toolset for easy 
data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
WiX-users mailing list
[hidden email]</user/SendEmail.jtp?type=node&node=7585350&i=4>
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced analytics on 
semi-structured data. The platform includes APIs for building apps and a 
phenomenal toolset for data science. Developers can use our toolset for easy 
data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
WiX-users mailing list
[hidden email]</user/SendEmail.jtp?type=node&node=7585350&i=5>
https://lists.sourceforge.net/lists/listinfo/wix-users
NOTICE: This electronic mail message and any files transmitted with it are 
intended
exclusively for the individual or entity to which it is addressed. The message,
together with any attachment, may contain confidential and/or privileged 
information.
Any unauthorized review, use, printing, saving, copying, disclosure or 
distribution
is strictly prohibited. If you have received this message in error, please
immediately advise the sender by reply email and delete all copies.


------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
WiX-users mailing list
[hidden email]</user/SendEmail.jtp?type=node&node=7585350&i=6>
https://lists.sourceforge.net/lists/listinfo/wix-users

________________________________
If you reply to this email, your message will be added to the discussion below:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Custom-Action-triggered-from-Support-Directory-tp7585344p7585350.html
To unsubscribe from Custom Action triggered from Support Directory, click 
here<http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=7585344&code=VGltTWF5ZXJ0QHNtYXJ0dGVjaC5jb218NzU4NTM0NHwtMTcxMzc3MTUwNA==>.
NAML<http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Custom-Action-triggered-from-Support-Directory-tp7585344p7585351.html
Sent from the wix-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to