Wise Installer - Executing Custom Action to Open Document by pressing a Button - [NewBie]
Hi,
My Name is Harald and I am about to rip my hair off...
I am looking into creating MSI packets and playing around with some projects for the fun/educational reasons.
What I want ot do:
- have a Button labeled "Launch" Dockument at my Exit_Dialog
- When I press button I want an Event to call DoAction
- DoAction should execute a Custom Action "CALaunchDocument"
So far it is all good....
I create a Custom Action under the MSI Script - All Custom Actions like this:
Open Dockument.doc [CALaunchDocument]
(Building the command using the "Open Document From Installed Files" from the "Actions" field at the left side of MSI Script screen. After this I use the Setup Editors Tables Part to change the Acion name to CALaunchDocument.)
CustomAction Table look like this:
Action: CALaunchDocument
Type: 1
Source: WiseScriptDll
Target: OpenDocument
Property Table has the following addtion after creating the Custom action:
Property: CALaunchDocument
Value: [#Dockument.doc] (I did try to remove that at the end.. no change)
---
Now when executed the computer give me the Hour Glass for a secound and then nothing.
I know that the DoAction launch the Custom Action as I can get error messages if I change the parameters of CALaunchDocument.
Can anyone se anything I did wrong configuring my Custome Aciton?
Appreciate any help! Please... [&:]
Thanx!
My Name is Harald and I am about to rip my hair off...
I am looking into creating MSI packets and playing around with some projects for the fun/educational reasons.
What I want ot do:
- have a Button labeled "Launch" Dockument at my Exit_Dialog
- When I press button I want an Event to call DoAction
- DoAction should execute a Custom Action "CALaunchDocument"
So far it is all good....
I create a Custom Action under the MSI Script - All Custom Actions like this:
Open Dockument.doc [CALaunchDocument]
(Building the command using the "Open Document From Installed Files" from the "Actions" field at the left side of MSI Script screen. After this I use the Setup Editors Tables Part to change the Acion name to CALaunchDocument.)
CustomAction Table look like this:
Action: CALaunchDocument
Type: 1
Source: WiseScriptDll
Target: OpenDocument
Property Table has the following addtion after creating the Custom action:
Property: CALaunchDocument
Value: [#Dockument.doc] (I did try to remove that at the end.. no change)
---
Now when executed the computer give me the Hour Glass for a secound and then nothing.
I know that the DoAction launch the Custom Action as I can get error messages if I change the parameters of CALaunchDocument.
Can anyone se anything I did wrong configuring my Custome Aciton?
Appreciate any help! Please... [&:]
Thanx!
0 Comments
[ + ] Show comments
Answers (0)
Please log in to answer
Be the first to answer this question
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.