Questions tagged [custom-action]

A custom action is custom code provided by a developer to be called during a Windows Installer setup. Windows Installer tools (such as WiX, Visual Studio Setup Projects, InstallShield, Wise, Advanced Installer and so on) provide support for incorporating custom actions into your Windows Installer setup.

A custom action is most often custom code called from a Windows Installer setup (an MSI file). Most tools (such as WiX, Advanced Installer, InstallShield, Visual Studio setup projects) provide support for calling custom actions. There are several types of custom action in Windows Installer setups:

  1. Setting a Property (although called a custom action this type 51 one doesn't run user-provided code).
  2. Setting the location of a Directory.
  3. Running embedded VBScript or JScript code.
  4. Calling an external VBScript or JScript file.
  5. Calling a method from a C++ DLL.
  6. Running an executable.
  7. Sending an error that stops the install (a type 19 custom action that doesn't run any user-provided code).
  8. Managed code custom actions called with Visual Studio's installer class mechanism.
  9. Managed code custom actions called via the DTF mechanism, in most cases from WiX-generated setups.
1032 questions
0
votes
0 answers

?Should functionality of code associated with Pivotviewer custom actions be lightweight?

All: Our project uses Silverlight 4 and Microsoft Pivot Viewer. I'm using Silverlight 4, and I would like to keep using Silverlight 4 for now. The PivotViewer display in our project will using Custom Actions. I figured out a way to add custom action…
crazyTech
  • 1,379
  • 3
  • 32
  • 67
0
votes
2 answers

passing objects parameter to facebook open graph custom actions in C#

I am posting custom action with facebook open graph api and I am successfully posted that on my timeline with facebook c# sdk. Here is my action code curl -F 'access_token=AccessToken' \ -F 'job=http://samples.ogp.me/476622222351784' \ …
0
votes
1 answer

How do I run an app using the power button

I have been around browsing tutorials for android power button mods, I have a couple of questions in this regard Those being: How do I set a specific timer to make my app run after the button as been depressed for say 5 seconds. How do I make my…
a.kollar
  • 43
  • 6
0
votes
2 answers

Publish custom object in Open Graph with built-in "publish" action

I have some problems with my first Open Graph custom action: I've created a custom action ":publish" because with the built-in action "news:publish" I only can publish objects of type "og:article". This action was rejected with "You are trying to…
0
votes
1 answer

Sublime Text 2 syntax highlighting for XML and Java in the same file?

I have a proprietary application that takes XML files and can use embedded Java code in XML file to perform certain operations. I opened the XML file in ST2, but I only get syntax highlighting for XML code, Java code is just white. If I switch the…
devcoder
  • 1,675
  • 2
  • 21
  • 28
0
votes
1 answer

Publish custom facebook action on timeline as a Page

I have created a custom object and custom action with Open Graph, and they have already been approved by facebook. I am able to publish this custom action as a user, but not as a page. The steps I follow are: The user authorize the app via the…
0
votes
2 answers

Wix Custom Action get current running msi file name

I'm trying to create this installer with Wix. Before or after InstallFinalize, I need to get the msi file name and then write that file name to config file inside the installation directory. Is this something possible?
0
votes
3 answers

Publishing Custom facebook actions on behalf of a page

I am trying to publish actions on behalf of a facebook page I administer via an app with the manage_pages permission. I am able to publish an action via a graph post of the folloing…
Ben Pearce
  • 6,884
  • 18
  • 70
  • 127
0
votes
1 answer

Wix: How can I set the property after CustomAction? Do I need CustomAction?

I want to install a plugin with the Wix Setup. On the computer, there could be installed more versions of the application, so the user has to decide, which version should be used. The applications are written in the registry in this…
Ivo Kovacka
0
votes
1 answer

When can I get the target directories in a WIX installer?

So I have a custom action
Pittfall
  • 2,751
  • 6
  • 32
  • 61
0
votes
2 answers

How can I include a strong name assembly file in my installer

I have a custom action to execute a custom action DLL but it is failing and I believe it's because it does not know how to read the strong name assembly so I have this:
Pittfall
  • 2,751
  • 6
  • 32
  • 61
-1
votes
1 answer

how can i get the data from SQLite in to Custome Simple Cursor adapter and display in list?

I have implemented an application to get the data from local mobile SQLite db and try for send to Custome Simple Cursor adapter class.I am recieving the data from BroadCast Reciever It is used for get the latest record from DB.If use…
prasad.gai
  • 2,977
  • 10
  • 58
  • 93
-1
votes
1 answer

WPF can't read arguments passed

I am trying to get the command line arguments in WPF but it always returns []. It's very strange I even tried to send argument via cmd but no success private void Application_Startup(object sender, StartupEventArgs e) { …
CodingWithRoyal
  • 1,006
  • 1
  • 6
  • 15
-1
votes
1 answer

Break point not hit in custom installer action using Framework 4.0

I spent hours trying to debug a custom installer dll built using .net framework 4.0, but no matter what I tried the break point would not be hit. I had a similar project in 3.5 and there were not problems hitting the breakpoints using…
allan
  • 949
  • 1
  • 10
  • 17
-1
votes
1 answer

how to kill msiexec.exe in wix?

I have a wix application running.and when i am trying to uninstall it,it should prompt for close the application.I would like to kill the msiexec.exe after it prompts.Right now it prompts to close but as soon as i close the dialog box it shows there…
Deepthi
  • 1
  • 1
1 2 3
68
69