Skip to content

Commit 32053fb

Browse files
crutkasudit3333
authored andcommitted
Update README.md (microsoft#1198)
1 parent f0202ce commit 32053fb

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

installer/README.md

+14-14
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
1-
# PowerToys Setup Project
1+
# PowerToys MSIX installer instructions
22

3-
## MSIX instructions
3+
## One-time tasks
44

5-
### 1-time Run
6-
7-
#### Create Self-sign certificate
5+
### Create and install the self-sign certificate
86
For the first-time installation, you'll need to generate a self-signed certificate. The script below will generate and add a cert to your [TRCA store](https://docs.microsoft.com/en-us/windows-hardware/drivers/install/trusted-root-certification-authorities-certificate-store).
97
1. Open `Developer PowerShell for VS` as an Admin
108
2. Navigate to your repo's `installer\MSIX`
119
3. Run `.\generate_self_sign_cert.ps1`
1210

13-
#### Elevate `Developer PowerShell for VS` permissions
11+
**Note:** if you delete the folder, you will have to regenerate the key
12+
13+
### Elevate `Developer PowerShell for VS` permissions due to unsigned file
1414
`msix_reinstall.ps1` is unsigned, you'll need to elevate your prompt.
1515
1. Open `Developer PowerShell for VS` as admin
1616
2. Run `Set-ExecutionPolicy -executionPolicy Unrestricted`
1717

18-
### To Build MSIX
18+
## To Build MSIX
1919
1. Make sure you've built the `Release` configuration of `powertoys.sln`
2020
2. Open `Developer PowerShell for VS`
2121
3. Navigate to your repo's `installer\MSIX`
2222
4. Run `.\msix_reinstall.ps1` from the devenv powershell
2323

24-
#### What msix_reinstall.ps1 does
24+
### What msix_reinstall.ps1 does
2525
`msix_reinstall.ps1` removes the current PowerToys installation, restarts explorer.exe (to update PowerRename shell extension), builds `PowerToys-x64.msix` package, signs it with a PowerToys_TemporaryKey.pfx, and finally installs it.
2626

27-
#### Removing all .msi/.msix PowerToys installations
27+
### Removing all .msi/.msix PowerToys installations
2828
```ps
2929
$name='PowerToys'
3030
Get-AppxPackage -Name $name | select -ExpandProperty "PackageFullName" | Remove-AppxPackage
@@ -34,8 +34,8 @@ gwmi win32_product -filter "Name = '$name'" -namespace root/cimv2 | foreach {
3434
}
3535
```
3636

37-
## MSI Build instructions (Deprecated)
38-
* Install the [WiX Toolset Visual Studio 2019 Extension](https://marketplace.visualstudio.com/items?itemName=RobMensching.WiXToolset).
39-
* Install the [WiX Toolset build tools](https://wixtoolset.org/releases/) in the development machine.
40-
* Open `powertoys.sln`, select the "Release" and "x64" configurations and build the `PowerToysSetup` project.
41-
* The resulting installer will be built to `PowerToysSetup\bin\Release\PowerToysSetup.msi`.
37+
# MSI Build instructions (Deprecated)
38+
1. Install the [WiX Toolset Visual Studio 2019 Extension](https://marketplace.visualstudio.com/items?itemName=RobMensching.WiXToolset).
39+
2. Install the [WiX Toolset build tools](https://wixtoolset.org/releases/) in the development machine.
40+
3. Open `powertoys.sln`, select the "Release" and "x64" configurations and build the `PowerToysSetup` project.
41+
4. The resulting installer will be built to `PowerToysSetup\bin\Release\PowerToysSetup.msi`.

0 commit comments

Comments
 (0)