Comments (3)
Well, you can't do that, that's by design. Read about the whole deferred business here. Basically the immediate sequence is only used to decide what to do, and the deferred one is to do it. It's a way to do transactional installs, one of the most powerful features in MSI. It enables running installations with different permissions in the immediate sequence, installations without UX, and supports rollback.
I think you're incorrect that the create folder action is executed in immediate. It may be "planned" in the immediate one, but it's actually executed in deferred. Check the detailed log for the order of events, and paste the relevant parts here, and I'll try to help?
from msiext.
You can probably just reorder the sequence of actions in your MSI, but eventually you have impossible situations of such dependencies. Either way the feature request to allow this makes sense. Not sure how best to fix this, but PRs welcome! Probably a different component that applies the group to a directory and creates it if it doesn't exist is the way to go.
from msiext.
@dblock Sorry for the delay.
Currently, the sequence of LocalUser/LocalGroup creating is separated in 2 steps 'immediate' and 'defferred'.
I am not familiar to Wix extensions though, why don't you combine them and go it on 'immediate' sequence.
The 'CreateFolders' sequence is executed in 'immediate'. If the user/group is created in 'immediate', we can arrange execution order in .
The problem for me is unable to arrange the sequence order between 'immediate' and 'defferred'.
from msiext.
Related Issues (20)
- Rename Service_GetStatus to Service_GetState HOT 1
- Provide NuGet package(s)
- Service_Control custom action with a SERVICE_CONTROL_STOP action request does not stop dependent services
- Support specifying a wait timeout when controlling a service with the Service_Control immediate custom action
- CheckUserPrivilege: error 2896 HOT 2
- Upgrade to Wix 3.9, 3.10
- Release 1.5 HOT 3
- Add fullname to Wix::Extensions::UserPrivileges::LocalUser HOT 2
- Document that GroupId attribute cannot override parent Group in UserPrivileges:LocalGroupMember HOT 7
- Does this build under VS2013 or 2015 ? HOT 1
- ServiceCredDlg don't insert username HOT 4
- Unable to build the Wix Extensions HOT 8
- Unable to run The sql script file HOT 3
- SelectDbDlg causes unresolved reference error.... HOT 5
- visual studio 2019 support
- g++ setup and config HOT 1
- The (msiext-1.4.zip) release file seems to be corrupted HOT 3
- Standardize SERVICE_NAME parameter in Service CAs HOT 3
- Build fails unless WiX Toolset v3.7 is installed HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from msiext.