[WiX-users] CAQuietExec fails to execute inetsrv\appcmd

2012-06-06 Thread shanmukha sainath addepalli
Hello all, I am executing appcmd command to change the Application pool to Integrated mode using CAQuietExec, it fails with error "Command failed to execute". The command is working fine when I use ExeCommand instead of CAQuiteExec. But ExeCommand displays a command prompt while executing the comm

Re: [WiX-users] Problem setting directory permissions using newly created account

2012-06-06 Thread Christopher Painter
Ok, success. I used LockPermissions to apply the permissions for SYSTES ( in the process blasting everything else out... ) and util:PermissionEx to apply the permission for the service account ( augmenting the previous step ). This CA fires after the User creation CA so it's all good to go.

Re: [WiX-users] Problem setting directory permissions using newly created account

2012-06-06 Thread Christopher Painter
I tried a hack where I put ConfigureUsers in the target InstallExecuteSequence ahead of CreateFolders so that it would already be there during the merge process. It works in the sense the order is altered but it doesn't work. I'm suspecting that ConfigureUsers is calling DoAction to schedule t

[WiX-users] Problem setting directory permissions using newly created account

2012-06-06 Thread Christopher Painter
I have a scenario where I need to lock down a directory so that only system and a local service account that I'm creating can access it. I'm encapsulating this in a merge module. I've tried two techniques: 1) Permission element nested under a CreateFolder element. The problem with this tec

Re: [WiX-users] Scheduling Install and Uninstall Custom Actions

2012-06-06 Thread Rob Mensching
If you are modifying machine state, a better way is to make your custom action data driven and use Component States to determine when to do work. You can see that the custom actions in the WiX toolset behave this way. Lots of the code lives under src\ext and src\ca On Tue, Jun 5, 2012 at 5:52 AM,

Re: [WiX-users] Prompting for user input (SQL Server instance/database)?

2012-06-06 Thread Rob Mensching
Use the Remember Property Pattern ( http://robmensching.com/blog/posts/2010/5/2/The-WiX-toolsets-Remember-Property-pattern) and add a custom dialog to with an edit box to provide the value up front On Tue, Jun 5, 2012 at 3:20 AM, Jerra wrote: > My server software uses SQL Server 2008 Express. It

Re: [WiX-users] Burn: How to suppress Payload Verification after reboot

2012-06-06 Thread Rob Mensching
I've never measured but I expect verifying just the hash is faster since comparing the signature requires taking a hash of the file and doing more. On Mon, Jun 4, 2012 at 11:41 PM, Simon Chromow wrote: > Ok. Could you tell me which process of verificating the cached payloads is > faster? Compari