Execute Program from Installed File's running from Source instead of destination
Updated: 23 May 2010 | 13 comments
I have created a custom event to launch an executable from the install directory after the Finish button is clicked. The event launches the correct file however the file is executed from the installsource as opposed to the destination. I am not sure how this is happening or what to do to fix it.
discussion Filed Under:
Comments
Verify that the file isn't
Verify that the file isn't set to be run from source instead of local (Component attribute bit msidbComponentAttributesSourceOnly)
I will be the first to admit
I will be the first to admit I am not very strong with this application so I am speculating here. Is this what you were talking about?
The "Run Location" value is
The "Run Location" value is correct for that component however there is not reference to any specific file.
Could you give us the details for the custom event.
I used this process to create
I used this process to create the event.
https://kb.altiris.com/display/1n/articleDirect/in...
The event is tied to a check box on the exit dialog with a condition of 1 as shown below.
So how does the RunPA custom
So how does the RunPA custom action look like (copy in the row from the CustomAction table)?
Here is what the table
Here is what the table has.
"RunPA","34","INSTALLDIR1","PockAdv.exe FromPaInstall"
I have tried a couple different options to get this to work. Here are the others I have created as well
"LaunchPA","210","PockAdv.exe","FromPAInstall"
"Execute PA","18","PockAdv.exe","FromPaInstall"
All 3 have the same result in that the exe will run but it is running from the within the MSI it seems instead of the Install Directory.
Defuse- Not sure if you've
Defuse-
Not sure if you've solved your problem, but I have been struggling with this myself... Here is a clearer KB article which has helped me solve it. The trick is to create the custom action in the MSI Script window and not muck with the table directly (I couldn't get it to work when editing the custom action table directly).
https://kb.altiris.com/display/1n/articleDirect/in...
Let me know if you need more details and I'll be happy to let you know how I got it to work (I'm not a wiz at this either). It's amazing to me that something so common seems like such an ordeal...
Cheers,
M
Can anyone see the images?
There appear to be imaged embedded in a couple of the previous posts, but I cannot see more than an outline. Can anyone else see them?
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
I can see the images.
I can see the images.
Johan, What O/S and browser
Johan,
What O/S and browser are you using?
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
Win XP SP3 32-bit and Firefox
Win XP SP3 32-bit and Firefox 3.5.5. Also works fine in a clean Windows 7 Pro 32-bit with IE 8.
Very odd
I'm running on a clean install of Win7 Ultimate with IE8 and cannot see the images.
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
OK figured it out
When the thread opens, I get a security warning about whether I want to view only content delivered securely, and I was automatically answering YES. Choosing NO showed the images.
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
Would you like to reply?
Login or Register to post your comment.