Skip to content
This repository was archived by the owner on Jan 19, 2021. It is now read-only.

Commit a1f502a

Browse files
committed
Merge pull request #49 from erwinvanhunen/dev
Prep for master merge
2 parents b9cda73 + 6ff53dc commit a1f502a

File tree

4 files changed

+9
-13
lines changed

4 files changed

+9
-13
lines changed

Commands/Branding/ApplyProvisioningTemplate.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ protected override void ExecuteCmdlet()
8888
WriteProgress(new ProgressRecord(0, string.Format("Applying template to {0}", SelectedWeb.Url), message) { PercentComplete = (100 / total) * step });
8989
};
9090

91-
applyingInformation.MessageDelegate = (message, type) =>
91+
applyingInformation.MessagesDelegate = (message, type) =>
9292
{
9393
if (type == ProvisioningMessageType.Warning)
9494
{
Binary file not shown.

Commands/Properties/AssemblyInfo.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@
3131
// You can specify all the values or you can default the Build and Revision Numbers
3232
// by using the '*' as shown below:
3333
// [assembly: AssemblyVersion("1.0.*")]
34-
[assembly: AssemblyVersion("1.3.2.0")]
35-
[assembly: AssemblyFileVersion("1.3.2.0")]
34+
[assembly: AssemblyVersion("1.4.0.0")]
35+
[assembly: AssemblyFileVersion("1.4.0.0")]

Setup/Product.wxs

+6-10
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<Product Id="*"
1414
Name="$(var.ProductName)"
1515
Language="1033"
16-
Version="1.3.2.0"
16+
Version="1.4.0.0"
1717
Manufacturer="OfficeDev PnP"
1818
UpgradeCode="630fe2af-dc42-467d-94c8-6eefd065cbfa">
1919

@@ -52,13 +52,9 @@
5252

5353
<Fragment>
5454
<Directory Id="TARGETDIR" Name="SourceDir">
55-
<Directory Id="ProgramFilesFolder">
56-
<Directory Id="APPFOLDER" Name="OfficeDevPnP">
57-
<Directory Id="PowerShell" Name="PowerShell">
58-
<Directory Id="Modules" Name="Modules">
59-
<Directory Id="APPLICATIONFOLDER" Name="OfficeDevPnP.PowerShell.Commands" />
60-
</Directory>
61-
</Directory>
55+
<Directory Id="APPLICATIONFOLDER" Name="OfficeDevPnP.PowerShell.Commands" >
56+
<Directory Id="Modules2" Name="Modules">
57+
<Directory Id="MODULEFOLDER" Name="OfficeDevPnP.PowerShell.Commands"></Directory>
6258
</Directory>
6359
</Directory>
6460
</Directory>
@@ -74,7 +70,7 @@
7470
</Fragment>
7571

7672
<Fragment>
77-
<ComponentGroup Id="ProductComponents" Directory="APPLICATIONFOLDER">
73+
<ComponentGroup Id="ProductComponents" Directory="MODULEFOLDER">
7874
<Component Id="PowerShellCommands" Guid="{1F5CA574-E185-49D2-9A91-CD46A8548D3E}">
7975
<File Id="Commands" Source="$(var.OfficeDevPnP.PowerShell.Commands.TargetPath)" />
8076
<File Id="CommandsHelp" Source="$(var.OfficeDevPnP.PowerShell.Commands.TargetPath)-help.xml"/>
@@ -102,7 +98,7 @@
10298
<ComponentGroup Id="ENVIRONMENTVARS" Directory="TARGETDIR">
10399
<Component Id="EnvironmentVarPerMachine" Guid="{4D971CA5-CFE1-4121-B265-7C56B75D12A1}">
104100
<Condition>ALLUSERS=1 OR (ALLUSERS=2 AND Privileged)</Condition>
105-
<Environment Id="PSMODULEPATHPERMACHINE" Name="PSMODULEPATH" Value="[APPFOLDER]" Permanent="no" Part="last" Action="set" System="yes" />
101+
<Environment Id="PSMODULEPATHPERMACHINE" Name="PSMODULEPATH" Value="[APPLICATIONFOLDER]" Permanent="no" Part="last" Action="set" System="yes" />
106102
</Component>
107103
<Component Id="EnvironmentVarPerUser" Guid="{CAE7B727-018A-4F37-9D62-C70363B9A9D1}">
108104
<Condition>ALLUSERS="" OR (ALLUSERS=2 AND (NOT Privileged))</Condition>

0 commit comments

Comments
 (0)