Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Manually upgrading DNN?Manually upgrading DNN?
Previous
 
Next
New Post
3/29/2019 5:54 AM
 
Can't say. Never tried it on an upgrade. Experiment.

For the module install I just did the url request with credentials.

My Powershell script

# Administrator level Account in the site
$User = "redacted"
$Password = "password"
#The second command uses the ConvertTo-SecureString cmdlet to create a secure string from a plain text password. The command uses the *AsPlainText* parameter to indicate that the string is plain text and the *Force* parameter to confirm that you understand the risks of using plain text.
$PWord = ConvertTo-SecureString -String $Password -AsPlainText -Force

#The third command uses the New-Object cmdlet to create a **PSCredential** object from the values in the $User and $PWord variables.
$Credential = New-Object -TypeName "System.Management.Automation.PSCredential" -ArgumentList $User, $PWord

(Invoke-WebRequest "https:/Redacted" -Credential $Credential -UseBasicParsing).Content

Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
New Post
3/29/2019 5:55 AM
 
The whole thing is open source. If you really need to d/l the source and see what it does.

Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
New Post
3/29/2019 9:42 AM
 
I have the source already and have found the Upgrade.cs class. Had had an interesting idea of perhaps importing this project into our own solution and just calling the UpgradeApplication method from it. That way we can upgrade DNN from our own application at a click of a button.

Just an idea at the moment which I'm going to play with this afternoon. Hopefully Michael will be able to say if this is the way he envisaged it working and if not if it's a viable solution.

Scott
 
New Post
3/29/2019 10:17 AM
 
I'd massively prefer a solution where you call some DNN code over any kind of attempt to reverse engineer it.

Far safer in the face of future platform changes.

Good luck.

Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
New Post
4/1/2019 2:35 AM
 
Michael Tobisch wrote:
Scott,

Sure, there is, but why do you want to do this?

Happy DNNing!
Michael

Morning Michael, 

What is your take on the approaches discussed in here? Is this different to the approach you alluded to?

Thanks, 

Scott

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Manually upgrading DNN?Manually upgrading DNN?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out