Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installer fails on 32bit systems [DNET516] #498

Closed
firebird-automations opened this issue Aug 19, 2013 · 12 comments
Closed

Installer fails on 32bit systems [DNET516] #498

firebird-automations opened this issue Aug 19, 2013 · 12 comments

Comments

@firebird-automations
Copy link

Submitted by: NoPyGod (nopygod)

The installer gives an error - "Failed to open XML File C:\windows\http://microsoft.net\framework64\v4.0.30319\config\machine.config"

Presumably because you forgot to check if the system is 64bit before modifying the 64bit machine.config

Commits: 0650c32

@firebird-automations
Copy link
Author

Commented by: @cincuranet

Did you checked (or actually unchecked) you want (not) to modify 64bit machine config?

@firebird-automations
Copy link
Author

Commented by: NoPyGod (nopygod)

I didn't even notice the "Advanced" button.

I just tried it again, this time unticking the option to modify 64bit config, and it worked fine.

Still, checking if the system is 64bit and ignoring the option if system is 32bit would be ideal.

@firebird-automations
Copy link
Author

Modified by: @cincuranet

status: Open [ 1 ] => Closed [ 6 ]

resolution: Won't Fix [ 2 ]

@firebird-automations
Copy link
Author

Commented by: NoPyGod (nopygod)

You're seriously not going to fix this? It's just one extra installation step I have to put in the install instructions for our software package. A nice little gotcha for the person blissfully unaware of the difference between 32bit and 64bit operating systems.

What if I fix the installer for you, will you accept my fix?

@firebird-automations
Copy link
Author

Commented by: @cincuranet

Sure, go ahead and issue pull request.

@firebird-automations
Copy link
Author

Commented by: NoPyGod (nopygod)

Hi Jira

I had problems compiling the wix installer using the latest version of Wix. It was complaining about many duplicate Ids being used. I had to give components/features unique names to allow me to compile it. I then added VersionNT64 Condition under the 64bit machine.config registration component. I have tested this on a clean installation of windows 7 32bit, and on my own 64bit machine, and it is working correctly.

I do not know how to create a pull request on SourceForge, and frankly I find SourceForge a little daunting. Would you mind if I just submit it here?

Code is here:

http://pastebin.com/KhP4FvL6

Thanks for all your hard work.

@firebird-automations
Copy link
Author

Commented by: NoPyGod (nopygod)

My apologies for getting your name wrong once again, Jiri. I keep confusing your name with the name of the bug tracker.

@firebird-automations
Copy link
Author

Commented by: @cincuranet

Not sure where you find your file, but it's for sure not the latest (https://bitbucket.org/cincura_net/netprovider/src/15958eb5486f4167e20eb3248e5500ec7e68f937/NETProvider/installer/Install.wxs?at=master). Anyway I was able to somehow merge it by my eye. :) If i see correctly, only real difference is the "<Condition>VersionNT64</Condition>" added, right?

@firebird-automations
Copy link
Author

Commented by: NoPyGod (nopygod)

Correct, thank you. I found the file on SourceForge but I must have done something wrong I guess.

@firebird-automations
Copy link
Author

Modified by: @cincuranet

status: Closed [ 6 ] => Reopened [ 4 ]

resolution: Won't Fix [ 2 ] =>

@firebird-automations
Copy link
Author

Modified by: @cincuranet

priority: Major [ 3 ] => Minor [ 4 ]

@firebird-automations
Copy link
Author

Modified by: @cincuranet

status: Reopened [ 4 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: vNext [ 10571 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants