Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
code review 5901044: windows: install fixes (issue 5901044)
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  13 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
jdpoir...@gmail.com  
View profile  
 More options Mar 24 2012, 6:23 pm
From: jdpoir...@gmail.com
Date: Sat, 24 Mar 2012 22:23:55 +0000
Local: Sat, Mar 24 2012 6:23 pm
Subject: code review 5901044: windows: install fixes (issue 5901044)
Reviewers: golang-dev_googlegroups.com,

Message:
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com),

I'd like you to review this change to
https://go.googlecode.com/hg/

Description:
windows: install fixes

* set default installation drive to C:\
* remove Win64 component property

Please review this at http://codereview.appspot.com/5901044/

Affected files:
   M misc/dist/windows/installer.wxs

Index: misc/dist/windows/installer.wxs
===================================================================
--- a/misc/dist/windows/installer.wxs
+++ b/misc/dist/windows/installer.wxs
@@ -51,6 +51,7 @@
  <Media Id='1' Cabinet="go.cab" EmbedCab="yes" CompressionLevel="high" />
  <Condition Message="Windows 2000 or greater required."> VersionNT >=  
500</Condition>
  <MajorUpgrade AllowDowngrades="yes" />
+<SetDirectory Id="INSTALLDIRROOT" Value="C:\"/>

  <CustomAction
      Id="SetApplicationRootDirectory"
@@ -72,7 +73,7 @@

  <!-- Programs Menu Shortcuts -->
  <DirectoryRef Id="GoProgramShortcutsDir">
-  <Component Id="Component_GoProgramShortCuts"  
Guid="{f5fbfb5e-6c5c-423b-9298-21b0e3c98f4b}" Win64="$(var.IsX64Target)">
+  <Component Id="Component_GoProgramShortCuts"  
Guid="{f5fbfb5e-6c5c-423b-9298-21b0e3c98f4b}">
      <Shortcut
          Id="GoDocServerStartMenuShortcut"
          Name="GoDocServer"
@@ -102,7 +103,7 @@

  <!-- Registry & Environment Settings -->
  <DirectoryRef Id="GoEnvironmentEntries">
-  <Component Id="Component_GoEnvironment"  
Guid="{3ec7a4d5-eb08-4de7-9312-2df392c45993}" Win64="$(var.IsX64Target)">
+  <Component Id="Component_GoEnvironment"  
Guid="{3ec7a4d5-eb08-4de7-9312-2df392c45993}">
      <RegistryKey
          Root="HKCU"
          Key="Software\GoProgrammingLanguage"


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Brad Fitzpatrick  
View profile  
 More options Mar 24 2012, 7:25 pm
From: Brad Fitzpatrick <bradf...@golang.org>
Date: Sat, 24 Mar 2012 16:25:10 -0700
Local: Sat, Mar 24 2012 7:25 pm
Subject: Re: [golang-dev] code review 5901044: windows: install fixes (issue 5901044)

LGTM

What's the result of not setting the default to C:\ ? What else would it
default to or do?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
a...@mgk.ro  
View profile  
 More options Mar 24 2012, 7:32 pm
From: a...@mgk.ro
Date: Sat, 24 Mar 2012 23:32:06 +0000
Local: Sat, Mar 24 2012 7:32 pm
Subject: Re: code review 5901044: windows: install fixes (issue 5901044)

http://codereview.appspot.com/5901044/diff/4001/misc/dist/windows/ins...
File misc/dist/windows/installer.wxs (right):

http://codereview.appspot.com/5901044/diff/4001/misc/dist/windows/ins...
misc/dist/windows/installer.wxs:54: <SetDirectory Id="INSTALLDIRROOT"
Value="C:\"/>
Should use %SystemDrive%, it can be different from C:\ and C:\ might not
exist.

http://codereview.appspot.com/5901044/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jdpoir...@gmail.com  
View profile  
 More options Mar 24 2012, 8:10 pm
From: jdpoir...@gmail.com
Date: Sun, 25 Mar 2012 00:10:33 +0000
Local: Sat, Mar 24 2012 8:10 pm
Subject: Re: code review 5901044: windows: install fixes (issue 5901044)
On 2012/03/24 23:25:10, bradfitz wrote:

> LGTM
> What's the result of not setting the default to C:\ ? What else would
it
> default to or do?

It's not always the system drive,  and I'm not sure how it decides.

http://codereview.appspot.com/5901044/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jdpoir...@gmail.com  
View profile  
 More options Mar 24 2012, 8:10 pm
From: jdpoir...@gmail.com
Date: Sun, 25 Mar 2012 00:10:48 +0000
Local: Sat, Mar 24 2012 8:10 pm
Subject: Re: code review 5901044: windows: install fixes (issue 5901044)

http://codereview.appspot.com/5901044/diff/4001/misc/dist/windows/ins...
File misc/dist/windows/installer.wxs (right):

http://codereview.appspot.com/5901044/diff/4001/misc/dist/windows/ins...
misc/dist/windows/installer.wxs:54: <SetDirectory Id="INSTALLDIRROOT"
Value="C:\"/>
On 2012/03/24 23:32:06, aram wrote:

> Should use %SystemDrive%, it can be different from C:\ and C:\ might

not exist.
Good catch! Done

http://codereview.appspot.com/5901044/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jdpoir...@gmail.com  
View profile  
 More options Mar 24 2012, 8:56 pm
From: jdpoir...@gmail.com
Date: Sun, 25 Mar 2012 00:56:26 +0000
Local: Sat, Mar 24 2012 8:56 pm
Subject: Re: code review 5901044: windows: install fixes (issue 5901044)
If someone could build and test the windows-amd64 version it would be
much appreciated.
-joe

http://codereview.appspot.com/5901044/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Brad Fitzpatrick  
View profile  
 More options Mar 24 2012, 8:59 pm
From: Brad Fitzpatrick <bradf...@golang.org>
Date: Sat, 24 Mar 2012 17:59:40 -0700
Local: Sat, Mar 24 2012 8:59 pm
Subject: Re: code review 5901044: windows: install fixes (issue 5901044)

Sorry, I assumed you'd already tested this when I LGTM'd.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Joseph Poirier  
View profile  
 More options Mar 24 2012, 9:58 pm
From: Joseph Poirier <jdpoir...@gmail.com>
Date: Sat, 24 Mar 2012 20:58:06 -0500
Local: Sat, Mar 24 2012 9:58 pm
Subject: Re: code review 5901044: windows: install fixes (issue 5901044)

On Sat, Mar 24, 2012 at 7:59 PM, Brad Fitzpatrick <bradf...@golang.org> wrote:
> Sorry, I assumed you'd already tested this when I LGTM'd.

Sorry, I'm not setup for the amd64 builds. BTW, what's the setup
you're using to make the amd64 releases?

-joe


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Brad Fitzpatrick  
View profile  
 More options Mar 24 2012, 10:07 pm
From: Brad Fitzpatrick <bradf...@golang.org>
Date: Sat, 24 Mar 2012 19:07:14 -0700
Local: Sat, Mar 24 2012 10:07 pm
Subject: Re: code review 5901044: windows: install fixes (issue 5901044)

On Sat, Mar 24, 2012 at 6:58 PM, Joseph Poirier <jdpoir...@gmail.com> wrote:
> On Sat, Mar 24, 2012 at 7:59 PM, Brad Fitzpatrick <bradf...@golang.org>
> wrote:
> > Sorry, I assumed you'd already tested this when I LGTM'd.

> Sorry, I'm not setup for the amd64 builds. BTW, what's the setup
> you're using to make the amd64 releases?

A 64-bit Windows VM on Rackspace.  (We use Amazon for 32-bit, and Rackspace
for 64-bit, because previously Amazon didn't have cheap 64-bit instances
available, but they do in the past ~month...)

It's Windows 2003 Datacenter Edition, IIRC, whatever that means.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Joseph Poirier  
View profile  
 More options Mar 24 2012, 11:04 pm
From: Joseph Poirier <jdpoir...@gmail.com>
Date: Sat, 24 Mar 2012 22:04:18 -0500
Local: Sat, Mar 24 2012 11:04 pm
Subject: Re: code review 5901044: windows: install fixes (issue 5901044)

What MinGW/GCC are you using?

I'm running a 64-bit Windows 7 with a standard MinGW/GCC setup and I
get errors when I try and build a windows-amd64 release.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Joseph Poirier  
View profile  
 More options Mar 24 2012, 11:37 pm
From: Joseph Poirier <jdpoir...@gmail.com>
Date: Sat, 24 Mar 2012 22:37:31 -0500
Local: Sat, Mar 24 2012 11:37 pm
Subject: Re: code review 5901044: windows: install fixes (issue 5901044)

On Sat, Mar 24, 2012 at 10:04 PM, Joseph Poirier <jdpoir...@gmail.com> wrote:
> On Sat, Mar 24, 2012 at 9:07 PM, Brad Fitzpatrick <bradf...@golang.org> wrote:

> What MinGW/GCC are you using?

> I'm running a 64-bit Windows 7 with a standard MinGW/GCC setup and I
> get errors when I try and build a windows-amd64 release.

I downloaded the MinGW64 that (I think) Alex put together. I was able
to build the installer and everything seems to be working.

I did get some missing file errors during the file harvest stage of
the msi builder - do you see these erros? Post installation of the
tools using the msi installer, the files that were listed as missing
during the installer build aren't actually missing!?

I'm making modifications to installer.wxs locally then cloning tip and
setting verbose mode:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andrew Gerrand  
View profile  
 More options Mar 26 2012, 1:47 am
From: Andrew Gerrand <a...@golang.org>
Date: Mon, 26 Mar 2012 16:47:53 +1100
Local: Mon, Mar 26 2012 1:47 am
Subject: Re: [golang-dev] code review 5901044: windows: install fixes (issue 5901044)
LGTM

Tested on windows-amd64.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
a...@golang.org  
View profile  
 More options Mar 26 2012, 1:48 am
From: a...@golang.org
Date: Mon, 26 Mar 2012 05:48:25 +0000
Local: Mon, Mar 26 2012 1:48 am
Subject: Re: code review 5901044: windows: install fixes (issue 5901044)
*** Submitted as
http://code.google.com/p/go/source/detail?r=c5a91a745639 ***

windows: install fixes

* set default installation drive to C:\
* remove Win64 component property

R=golang-dev, bradfitz, aram
CC=golang-dev
http://codereview.appspot.com/5901044

Committer: Andrew Gerrand <a...@golang.org>

http://codereview.appspot.com/5901044/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »