Hello, I am stuck using WIX (it is free) and want to deploy some registry settings, setup some groups and NTFS permissions for those groups. Would I rather have one of my experienced packagers in some other city do it? Yes, but the red tape would kill me.

I plan on scripting this in .net (I am a programmer) and then have the MSI run the .net script. There will be one script for installation and one for uninstallation.

To the experienced packager: is my plan a viable and acceptable one? Any tips for me?

Regards,

stuntman
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Hang on...from what I remember of Wix, it's used to create an MSI so what is it you want scripted?

- Registry settings can be done inside the MSI and "set up" for inclusion of same using Wix.
- Ditto for setting up group(s) and permissions, both of which will require the addition of Custom Actions.

Can I suggest you post the same question in Symantec's 'Connect', specifically in the ' Wise Application Packaging' forum? One of the moderators EdT is a Wix Whizz and bores all and sundry with it LOL
Answered 03/05/2010 by: VBScab
Red Belt

Please log in to comment
0
ORIGINAL: VBScab

Hang on...from what I remember of Wix, it's used to create an MSI so what is it you want scripted?

- Registry settings can be done inside the MSI and "set up" for inclusion of same using Wix.
- Ditto for setting up group(s) and permissions, both of which will require the addition of Custom Actions.


thanks for the reply.
I am waaaay better at .net than I am MSIs so if I can do it in .net and leverage MSIs via a wrapper the end package will be of better quality and easier to create.

There were other things I did not want to bore people with like reading a text file, regex find/replace. I suspect that MSIs could do those things too (can they?) but I need to get this item done quickly.
Answered 03/05/2010 by: Stuntman
Senior Yellow Belt

Please log in to comment
0
- reading a text file
Nope
- regex find/replace
Kind of.

As an MSI backgrounder, have a look at Phil Wilson's Definitive Guide to Windows Installer. I believe it's a free download these days. Also, check out John McFadyen's blog on Windows Live.
Answered 03/06/2010 by: VBScab
Red Belt

Please log in to comment
0
-I paid to to the Phil Wilson book on my reference shelf years ago; read half of it and it was a good read. Will checkout the blog too, thanks.

So maybe I need the Wix guy? I was reading that using .net code in an MSI with Wix 2 was dangerous but in Wix 3 it was safer....still have not worked my way through it.


Just want to do it right without wasting time...working on it now and will check back for tips.

SM
Answered 03/06/2010 by: Stuntman
Senior Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity