Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Repackager.

### Package Information

Currently, `owncloud.wxs` simply needs the indicated edits on lines 2-6, making
Currently, `nextcloud.wxs` simply needs the indicated edits on lines 2-6, making
the appropriate updates for .exe filename, package version, GUID (optional, see
below).

Expand All @@ -35,11 +35,11 @@ first, `candle *.wxs` then `light *.wixobj`, and the MSI will be created.

### Full MSI Creation Steps:

1. Copy the official or custom built owncloud.exe file into the project folder.
2. Edit `owncloud.wxs` lines 2-6 as necessary. Generally, only update version and filename.
1. Copy the official or custom built nextcloud.exe file into the project folder.
2. Edit `nextcloud.wxs` lines 2-6 as necessary. Generally, only update version and filename.
3. Run `make_installer.bat`, or run `candle *.wxs`, and `light *.wixobj`.
4. Copy the newly created owncloud.msi to an appropriate install location (AD server, Network share, etc.)
5. Install the owncloud.msi with any valid tool- Group Policy, Remote Admin commands, etc.
4. Copy the newly created nextcloud.msi to an appropriate install location (AD server, Network share, etc.)
5. Install the nextcloud.msi with any valid tool- Group Policy, Remote Admin commands, etc.


### A note about GUIDs
Expand All @@ -52,7 +52,7 @@ When generating an update for the WiX file, a single new GUID is needed on the i
The GUID referring to the previous install must also be listed so that the installer can properly identify and remove the previous package.
All GUIDs must be in majuscule (upper) case.

Also of note is a hard-coded GUID in `owncloud.wxs` line 22.
Also of note is a hard-coded GUID in `nextcloud.wxs` line 22.
This hard-coded GUID can be used under the assumption that packages are deployed in such a method that the receiving computers have since been restarted and/or cleared the temporary file cache.


Expand Down
10 changes: 5 additions & 5 deletions make_installer.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
del owncloud.msi
del owncloud.wixobj
del owncloud.wixpdb
candle owncloud.wxs
light owncloud.wixobj
del nextcloud.msi
del nextcloud.wixobj
del nextcloud.wixpdb
candle nextcloud.wxs
light nextcloud.wixobj
16 changes: 8 additions & 8 deletions owncloud.wxs → nextcloud.wxs
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
<?xml version='1.0'?>
<?define ProductVersion = "2.2.3"?> <!-- Match ownCloud Client version -->
<?define PrevProductVersion = "2.2.2"?> <!-- Match previous ownCloud Client version -->
<?define ExeSourceFile = "ownCloud-2.2.3.6307-setup.exe"?> <!-- Match new .exe -->
<?define ProductCode = "E75E827E-25D3-49AB-82A4-485509234141"?> <!-- Regenerate for new upgrade -->
<?define ProductUpgradeCode = "91579FD7-522F-4732-958F-F75B1EDC9912"?> <!-- When upgrading, move previous ProductCode here -->
<?define ProductVersion = "2.2.3"?> <!-- Match NextCloud Client version -->
<?define PrevProductVersion = "2.2.2"?> <!-- Match previous NextCloud Client version -->
<?define ExeSourceFile = "Nextcloud-2.2.3.4-setup.exe"?> <!-- Match new .exe -->
<?define ProductCode = "6B91AB9A-2D68-419B-8C20-4FA7A0398F47"?> <!-- Regenerate for new upgrade -->
<?define ProductUpgradeCode = "E75E827E-25D3-49AB-82A4-485509234141"?> <!-- When upgrading, move previous ProductCode here -->
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>
<Product Id='*'
UpgradeCode="$(var.ProductUpgradeCode)"
Name='ownCloud Sync Client'
Name='NextCloud Sync Client'
Language='1033'
Version='$(var.ProductVersion)'
Manufacturer='Penn Manor ownCloud'>
Manufacturer='Penn Manor NextCloud'>
<Package Id='$(var.ProductCode)'
Description='ownCloud Client $(var.ProductVersion)'
Description='NextCloud Client $(var.ProductVersion)'
InstallerVersion='200'
Compressed='yes' />
<Media Id='1' Cabinet='setup.cab' EmbedCab='yes' />
Expand Down