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

Integrate wix installer build into build process #5733

Open
christophedemey opened this Issue Dec 14, 2017 · 6 comments

Comments

Projects
None yet
3 participants
@christophedemey

christophedemey commented Dec 14, 2017

If this issue is a bug:

  • Which version of WiX are you building with?

3.11.0.1701

  • Which version of Visual Studio are you building with (if any)?

2017 Community

  • Which version of .NET are you building with?

4.6.2

  • Describe the problem and the steps to reproduce it.

(Be as specific as you can and err on the side of providing too much information.)

I downloaded binaries from : https://github.com/wixtoolset/wix3/releases/tag/wix311rtm
Unzipped the files in my installer project.

I followed instructions on http://wixtoolset.org/documentation/manual/v3/msbuild/daily_builds.html
I have :

    <WixToolPath>wix\3.11\</WixToolPath>
    <WixTargetsPath>$(WixToolPath)Wix.targets</WixTargetsPath>
    <WixTasksPath>$(WixToolPath)wixtasks.dll</WixTasksPath>

Which gives me following error :

The "ResolveWixReferences" task could not be loaded from the assembly D:\Projecten DJA\ProSuite\ProTight MultiStation\MultiStation\ProTight.MultiStation.Installer\Wix\3.11\wix\3.11\wixtasks.dll. Could not load file or assembly 'file:///D:\Projecten DJA\ProSuite\ProTight MultiStation\MultiStation\ProTight.MultiStation.Installer\Wix\3.11\wix\3.11\wixtasks.dll' or one of its dependencies. The system cannot find the file specified. Confirm that ...

I can see that the path is all screwed up ProTight.MultiStation.Installer\Wix\3.11\wix\3.11\wixtasks.dll
It appears to duplicate the Wix\3.11 path when searching for the wixtasks.dll.

I know it is finding the Wix.targets because if i change the WixToolPath to a non-existing path, for example wix\3.11\xxx i am getting an error stating that the Wix.targets file cannot be found.

I also tried using full paths :

   <WixToolPath>D:\Projecten DJA\ProSuite\ProTight MultiStation\MultiStation\ProTight.MultiStation.Installer\Wix\3.11\</WixToolPath>
    <WixTargetsPath>D:\Projecten DJA\ProSuite\ProTight MultiStation\MultiStation\ProTight.MultiStation.Installer\Wix\3.11\Wix.targets</WixTargetsPath>
    <WixTasksPath>D:\Projecten DJA\ProSuite\ProTight MultiStation\MultiStation\ProTight.MultiStation.Installer\Wix\3.11\wixtasks.dll</WixTasksPath>

Which gives me the following error :

The "ResolveWixReferences" task could not be loaded from the assembly 
D:\Projecten DJA\ProSuite\ProTight MultiStation\MultiStation\ProTight.MultiStation.Installer\Wix\3.11\wixtasks.dll. 
Could not load file or assembly 
'file:///D:\Projecten DJA\ProSuite\ProTight MultiStation\MultiStation\ProTight.MultiStation.Installer\Wix\3.11\wixtasks.dll'
or one of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> decl

When i copy the path from the error : D:\Projecten DJA\ProSuite\ProTight MultiStation\MultiStation\ProTight.MultiStation.Installer\Wix\3.11\wixtasks.dll
and paste it into a file explorer i am asked by windows how to open the dll, so i am 100% sure it is at that location.

I hope this is enough information, please let me know if you need anything else.

Thanks.

@robmen

This comment has been minimized.

Show comment
Hide comment
@robmen

robmen Dec 14, 2017

Member

For support please contact the wix-users mailing list.

It is possible through discussion a specific bug in the WiX Toolset will be uncovered but usually someone can help you find the error in your .wxs code.

Member

robmen commented Dec 14, 2017

For support please contact the wix-users mailing list.

It is possible through discussion a specific bug in the WiX Toolset will be uncovered but usually someone can help you find the error in your .wxs code.

@robmen robmen closed this Dec 14, 2017

@robmen robmen added the support label Dec 14, 2017

@barnson barnson removed the support label Dec 14, 2017

@barnson barnson added this to the v3.14 milestone Dec 14, 2017

@barnson

This comment has been minimized.

Show comment
Hide comment
@barnson

barnson Dec 14, 2017

Member

Doc should reflect the changes (as in the project templates) required for MSBuild v15 compatibility.

Member

barnson commented Dec 14, 2017

Doc should reflect the changes (as in the project templates) required for MSBuild v15 compatibility.

@barnson barnson reopened this Dec 14, 2017

@christophedemey

This comment has been minimized.

Show comment
Hide comment
@christophedemey

christophedemey Dec 18, 2017

Hi @barnson

Do you know what the problem is ?

christophedemey commented Dec 18, 2017

Hi @barnson

Do you know what the problem is ?

@christophedemey

This comment has been minimized.

Show comment
Hide comment
@christophedemey

christophedemey Dec 20, 2017

@robmen @barnson i am confused, i subscribed to the mailing list, asked the same question as here but just get spammed by other peoples problem.
Is this a documentation problem ?
Can you please help me.

Any help is greatly appreciated.
Thanks.

christophedemey commented Dec 20, 2017

@robmen @barnson i am confused, i subscribed to the mailing list, asked the same question as here but just get spammed by other peoples problem.
Is this a documentation problem ?
Can you please help me.

Any help is greatly appreciated.
Thanks.

@barnson

This comment has been minimized.

Show comment
Hide comment
@barnson

barnson Dec 20, 2017

Member

Yes, it's a doc bug.

Member

barnson commented Dec 20, 2017

Yes, it's a doc bug.

@robmen

This comment has been minimized.

Show comment
Hide comment
@robmen

robmen Dec 20, 2017

Member

Also, @christophedemey, the mailing list is where the WiX Toolset community supports itself. That isn't spam, it's an for you opportunity to become part of the community to learn so you can get answers your questions and--eventually--help others learn as well.

If you want personalized support for your issues without participating in the WiX Toolset community, I list some support options on my website.

Member

robmen commented Dec 20, 2017

Also, @christophedemey, the mailing list is where the WiX Toolset community supports itself. That isn't spam, it's an for you opportunity to become part of the community to learn so you can get answers your questions and--eventually--help others learn as well.

If you want personalized support for your issues without participating in the WiX Toolset community, I list some support options on my website.

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