Commit graph

268 commits

Author SHA1 Message Date
Sridhar Periyasamy
e131be5aaa Unit tests for Dotnet MSI
- Needs a clean machine without dotnet MSI installed for the tests to run.
- Needs admin privileges to run. Else test script exits silently.
- These xunit based tests run on Netfx46.

For now these tests are disabled until I figure out the right way to run
them in the CI machines.
2015-11-24 17:48:58 -08:00
Bryan Thornbury
b122190cd8 Set Docker Internal UID to Host UID, Remove Postbuild step
These changes will use docker's new Dockerfile Arguments to
pass the Host User ID to the docker container at build time.
This allows the docker container to set it's internal user
to match that of the host. When using shared volumes between
the host and container, this prevents files created in the
container from being owned by root.

This will solve our problem of needing a cleanup step after
every ubuntu CI run.
2015-11-25 00:33:53 +00:00
Zlatko Knezevic
9d9f141945 Adding dotnet-init to symlink list 2015-11-23 15:45:56 -08:00
Zlatko Knezevic
c91eb06b6e Add a temporary step to cp corehost to /usr/local/bin
This is a temporary fix to unblock dotnet compile on OS X. It copies the corehost
from the install location to /usr/local/bin in postinstall.

Fix 294
2015-11-23 12:21:26 -08:00
Sridhar Periyasamy
3f00cfbeb9 x64 installer now creates registry keys in both x64 and Wow32 hives.
This is required to enable 32-bit MSIs (like VS) that need to access the
registry key on a 64-bit OS. Refer #250
2015-11-20 18:32:58 -08:00
Sridhar Periyasamy
040e7f5d84 Change the install path, registry key path and environment component.
Install path is now %ProgramFiles%\dotnet
Registry root is now "HKLM\SOFTWARE\dotnet\Setup"
Env variables setup is now associated with a versioned component - the
registry keys. Environment resource cannot serve as a keypath hence it is
coupled with a registry key which is the key path for the component.
2015-11-20 17:44:48 -08:00
Bryan Thornbury
3adc3ed425 Fix permissions of moved package files 2015-11-19 16:29:31 -08:00
Bryan Thornbury
cefd1cbcfa Move Debian Package Tools to packaging folder 2015-11-19 14:45:20 -08:00
Zlatko Knezevic
f0f773f92c Add correct permissions and symlinks to PKG generation
Add proper symlinks to the postinstall script. Also, the permissions of the
resulting directory post-install were wrong (set to root:wheel). This is fixed
by using the --ownership preserve switch to pkgbuild.

Fix #247
2015-11-18 12:59:03 -08:00
Sridhar Periyasamy
c79f48a745 Add missing wxs files for building MSI. 2015-11-17 20:53:49 -08:00
Sridhar Periyasamy
57b1b5b290 Changes to dotnet MSI authoring based on netfx mtpack authoring.
- Added reg keys to detect installation.
- Added dependency provider keys
2015-11-17 20:32:02 -08:00
Sridhar Periyasamy
fb61e69a79 First pass at building Windows MSI for the dotnet CLI repo.
- Use the heat tool to harvest the stage2 dir and create install-files.wxs
- dotnet.wxs contains the XML code which is constant across builds for an MSI.
- Use Candle and Light to generate the MSI from install-files.wxs and dotnet.wxs.

Default Install Location - %ProgramFiles%/dotnet.
Adds <InstallRoot>\bin %PATH%
Creates %DOTNET_HOME% pointing to <InstallRoot>
2015-11-17 00:39:46 -08:00
PiotrP
e839b4debb Update Copyright headers in all source files. 2015-11-16 19:47:43 -08:00
Andrew Stanton-Nurse
4cc15b1246 restructure the output layout
also reorganize the scripts folder
2015-11-16 09:44:00 -08:00
glennc
7ae33f3154 fix permissions for installed files. 2015-11-06 15:58:55 -08:00
glennc
5624e37c3e Call publish for pkg 2015-11-06 12:48:34 -08:00
glennc
2dd124c635 Remove conclusion, modify welcome. Provide versions to package builds 2015-11-06 12:02:15 -08:00
glennc
713b7a1061 Initial commit of pkg authoring 2015-11-06 12:02:15 -08:00