We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Search found 11 matches

Go to advanced search

by todd.throne
Thu Jan 12, 2012 8:30 pm
Forum: Common Problems
Topic: During installation "Modify" no uac elev on custom actions
Replies: 12
Views: 7408
 
Jump to post

Re: During installation "Modify" no uac elev on custom actio

I have two problems, the first is how to get the data I want into the CustomActionData property through the "Action Data" of a stdDllWrapper.dll custom action. The second is how to get the data out of CustomActionData from my custom action dll with MsiGetProperty() without an MSIHANDLE.

I'm going ...
by todd.throne
Thu Jan 12, 2012 1:40 am
Forum: Common Problems
Topic: During installation "Modify" no uac elev on custom actions
Replies: 12
Views: 7408
 
Jump to post

Re: During installation "Modify" no uac elev on custom actio

My custom action is under InstallExecuteSequence - Install and called through the stdDllWrapper.dll into my dll. My current "Action Data" value on the Custom Action Properties page is [&install_helper.dll]?D;PROPERTY;C;SetCustomerInformation;B;S;P;BCCA_NAME?B;S;P;CUST_PWD? This was set through the ...
by todd.throne
Tue Jan 10, 2012 8:38 pm
Forum: Common Problems
Topic: During installation "Modify" no uac elev on custom actions
Replies: 12
Views: 7408
 
Jump to post

Re: During installation "Modify" no uac elev on custom actio

Ok, so I added a property called CustomActionData under "Properties" on the "Install Parameters" page. I've tried setting its value to "" as well as "Testing". I then pass this property to my custom action as the only parameter (of type unicode string) and set my custom action to deferred (tried ...
by todd.throne
Mon Jan 09, 2012 5:55 pm
Forum: Common Problems
Topic: During installation "Modify" no uac elev on custom actions
Replies: 12
Views: 7408
 
Jump to post

Re: During installation "Modify" no uac elev on custom actio

I am using the custom action data field... The documentation says;

Deferred custom actions can receive information about the installation process, mostly only embedded in the CustomActionData property. However, this type of custom actions do not have access to installer properties.

In my testing ...
by todd.throne
Sun Jan 08, 2012 11:36 pm
Forum: Common Problems
Topic: During installation "Modify" no uac elev on custom actions
Replies: 12
Views: 7408
 
Jump to post

Re: During installation "Modify" no uac elev on custom actio

After searching around a bit, it seems maybe this is a limitation of windows within the "modify" and "repair" options from the Programs and Features dialog.

Here's a discussion that seems to be relevant;

http://stackoverflow.com/questions/8647697/installation-change-do-not-ask-for-uac-permissions ...
by todd.throne
Sun Jan 08, 2012 7:19 pm
Forum: Common Problems
Topic: During installation "Modify" no uac elev on custom actions
Replies: 12
Views: 7408
 
Jump to post

Re: During installation "Modify" no uac elev on custom actio

Yes, my custom action is set to "Immediate execution" under execution options. Why does the same custom action run elevated during the installation? I have other custom actions all set to immediate execution and they run elevated during install and uninstall as well. It's only during the modify ...
by todd.throne
Sat Jan 07, 2012 12:23 am
Forum: Common Problems
Topic: During installation "Modify" no uac elev on custom actions
Replies: 12
Views: 7408
 
Jump to post

During installation "Modify" no uac elev on custom actions

Within Programs and Features on Windows 2008, after selecting "Change" (ie Modify) my custom action is not running with elevated privileges. My custom action is under InstallExecuteSequence - Install and call through the stdDllWrapper.dll into my helper dll. When the helper dll tries to modify the ...
by todd.throne
Fri Jan 28, 2011 4:43 pm
Forum: Common Problems
Topic: Modify sequence / dialogs requiring original install exe.
Replies: 3
Views: 3127
 
Jump to post

Re: Modify sequence / dialogs requiring original install exe.

Hi Mihai,

On the Modify, Repair, Remove dialog I select Modify and then proceed to put up a dialog to accept a new password that my service uses. This and the custom actions I use to set the password in the registry and restart my service all work great. The only problem I am having is that just ...
by todd.throne
Fri Jan 28, 2011 6:29 am
Forum: Common Problems
Topic: Modify sequence / dialogs requiring original install exe.
Replies: 3
Views: 3127
 
Jump to post

Modify sequence / dialogs requiring original install exe.

Hi,

I've added some modify dialogs for my installation to allow for configuration changes within the installed component. I've noticed that this seems to require the original setup.exe file that contains my installation - a dialog is displayed showing the location where it was installed form ...
by todd.throne
Thu Jan 20, 2011 2:16 am
Forum: Common Problems
Topic: stdDllWrapper.dll custom actions and return codes
Replies: 3
Views: 3589
 
Jump to post

Re: stdDllWrapper.dll custom actions and return codes

Hi Mihai,

I followed your first suggestion;

>If you want to stop the installation from within your DLL function called through our "Call a function from a standard dll" predefined custom action, >you can set a public property from the return value of your function. Once the property is set you can ...
by todd.throne
Tue Jan 18, 2011 7:59 pm
Forum: Common Problems
Topic: stdDllWrapper.dll custom actions and return codes
Replies: 3
Views: 3589
 
Jump to post

stdDllWrapper.dll custom actions and return codes

I have several custom actions that run during install via a stdDllWrapper.dll custom action. If I get an error during the custom action I don't seem to be able to effect the installation success/failure by returning an error code from my custom action. Is there something else I'm suppose to do like ...

Go to advanced search