Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am working on a project where we need to repeat certain steps with powershell to deploy stuff. i would like to create a process/install guidance (steps supported with UI) with WIX but after the msi has finished i have an entry in programs and features. I just need it to execute the powershell and then end without registering in windows. i might be using the wrong tooling or whatever, any suggestions are welcome.

share|improve this question

1 Answer 1

You can tell an MSI not to create an ARP entry with the ARPSYSTEMCOMPONENT property. You could set this in the Property table or send the value on the command line.

msiexec /i your.msi /qn ARPSYSTEMCOMPONENT=1
share|improve this answer
    
Possible, but hardly best practice - I didn't want to recommend this "solution". –  Glytzhkof Apr 4 at 12:13
1  
@Glytzhkof If the OP is only looking to deliver/run some Powershell scripts, I would argue an MSI is the wrong "solution" to begin with. –  jscott Apr 4 at 12:21
    
i found it actually is the wrong tool for the job. i haven't found an tool that could do what i am searching for. For now i will be combining the scripts using powershell only. –  Didier Caron Apr 14 at 19:56
    
@DidierCaron I'm still not sure what you're doing with the PS1s, but you might want to look at Desired State Configuration (DSC). DSC can ensure specific files are present on systems, as well as many other things. –  jscott Apr 15 at 0:22

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.