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

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesChanging module version - not running install scriptChanging module version - not running install script
Previous
 
Next
New Post
8/20/2012 9:43 AM
 

Hello,

I am currently using DNN 6.1.5  - and have noticed that if you make an edit to a module and update the version number via the .dnn(Manifest) and assemblyinfo.cs files - and re-install module it runs the uninstall script?

If installing on another version of dnn - it runs the install script. And the module installs fine. I have no clue as to why this is happening?

If there something in the .dnn file or msbuild files that I need to change or is this a dnn bug?

Please help.

 
New Post
8/20/2012 2:28 PM
 
I would recommend checking your .DNN file to see if you have your SCRIPTS mislabelled. Uninstall should be under the uninstall option, not INSTALL for the scripts.

Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
8/20/2012 4:02 PM
 
Thanks for the quick replay Chris:

But here is that portion of my dnn file: It looks correct to me?








The weird thing is that it runs the install script fine if you don't change the version number.
 
New Post
8/20/2012 4:03 PM
 
Here is the missing xml from above:

<components>
        <component type="Script">
          <scripts>
            <basePath>DesktopModules\IdentitySwitcher2</basePath>
            <script type="Install">
              <path>Providers\DataProviders\SqlDataProvider</path>
              <name>01.00.00.SqlDataProvider</name>
              <version>01.00.00</version>
            </script>
            <script type="UnInstall">
              <path>Providers\DataProviders\SqlDataProvider</path>
              <name>Uninstall.SqlDataProvider</name>
              <version>01.00.00</version>
            </script>
          </scripts>
        </component>



 
New Post
8/22/2012 2:05 PM
 
anyone?
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesChanging module version - not running install scriptChanging module version - not running install script


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