Search found 20 matches

Go to advanced search

by sramesh
Fri May 30, 2008 9:45 pm
Forum: Common Problems
Topic: Upgrade problems
Replies: 1
Views: 2485
 
Jump to post

Upgrade problems

Hi,

I have a AI Project created using version 6.1.1. This was install version 15.

Then we did some changes to the way our app works. So I made the necessary changes to the AIP.
In the meantime, the AI updates wanted to install. So I let it install AI updates. Now I have AI version 6.1.1 and 6.2 ...
by sramesh
Thu May 22, 2008 1:12 pm
Forum: Common Problems
Topic: Custom Upgrade
Replies: 11
Views: 11098
 
Jump to post

Re: Custom Upgrade

Hello,

After your suggestions, I am attempting the patch approach.

I have the original release version 15 using AI 6.1.1.
The following changes were to be done to this original release aip.

Need to add Files/components. So created a new feature and added the files there.
One of the dialog box ...
by sramesh
Tue May 20, 2008 10:41 pm
Forum: Common Problems
Topic: Custom Upgrade
Replies: 11
Views: 11098
 
Jump to post

Re: Custom Upgrade


This is why I mentioned the "Permanent" and "Never Overwrite" attributes (the components will not be removed during an uninstall and they will not be overwritten).


I apologize for misleading. I do want to replace all of my old files when upgrading. But I do not want to uninstall or run the ...
by sramesh
Tue May 20, 2008 6:35 pm
Forum: Common Problems
Topic: Custom Upgrade
Replies: 11
Views: 11098
 
Jump to post

Re: Custom Upgrade

I am attempting the Automated Upgrade feature.

But when I upgrade it seems to run my uninstall custom code. Is there any other thing I need to consider.

My execute condition for running the uninstall custom action is (REMOVE="ALL" AND (NOT UPGRADINGPRODUCTCODE))

Please help.

Thanks
SR
by sramesh
Tue May 20, 2008 3:17 pm
Forum: Common Problems
Topic: Custom Upgrade
Replies: 11
Views: 11098
 
Jump to post

Re: Custom Upgrade

I will try that. Thank you.

Will I be able to Install / upgrade depending on if its already installed or not using one single msi ?

Please let me know .

Thanks
SR
by sramesh
Tue May 20, 2008 3:01 pm
Forum: Common Problems
Topic: Custom Upgrade
Replies: 11
Views: 11098
 
Jump to post

Re: Custom Upgrade

If I use the automated Upgrade feature, then my previous version will be uninstalled. I should not uninstall the previous version. (My uninstall custom action will command sharepoint to remove the files from there and that will cause the user to loose data).

I want to replace only 1 file (a wsp ...
by sramesh
Mon May 19, 2008 10:41 pm
Forum: Common Problems
Topic: Custom Upgrade
Replies: 11
Views: 11098
 
Jump to post

Custom Upgrade

Hi,

I have a project that installs a wsp and then runs some commands in Sharepoint to complete the installation process.

My difficulty is during an upgrade. During an upgrade, I do not want to uninstall (remove) any of my previously installed files except the wsp. Once that is done, I also have to ...
by sramesh
Fri Apr 18, 2008 7:04 pm
Forum: Common Problems
Topic: How to get records from a ListBox
Replies: 2
Views: 4408
 
Jump to post

Re: How to get records from a ListBox

Thank you very much.

:)

I will try this.
by sramesh
Fri Apr 18, 2008 11:39 am
Forum: Common Problems
Topic: How to get records from a ListBox
Replies: 2
Views: 4408
 
Jump to post

How to get records from a ListBox

Hello,

I have a list of databases in a ListBox (did the Insert into...Temporary). I need to run sql scripts on each of these database. I have created a vbscript to do the same. I am trying to get each record from the ListBox and getting the database from the Server and if the Database name is the ...
by sramesh
Tue Apr 15, 2008 7:56 pm
Forum: Common Problems
Topic: MsiProvideComponentFromDescriptor is returning: 0
Replies: 4
Views: 6139
 
Jump to post

Re: MsiProvideComponentFromDescriptor is returning: 0

__________________________
Action 12:41:05: RunSQLScripts.
Action start 12:41:05: RunSQLScripts.
MSI (s) (38:AC) [12:41:06:177]: Entering MsiProvideComponentFromDescriptor. Descriptor: H[XLiT}$i@8(605vMk!OLibrary>M5KDYSUnf(HA*L[xeX)y, PathBuf: A1ED44, pcchPathBuf: A1ED40, pcchArgsOffset: A1ECA0
MSI ...
by sramesh
Tue Apr 15, 2008 7:42 pm
Forum: Common Problems
Topic: MsiProvideComponentFromDescriptor is returning: 0
Replies: 4
Views: 6139
 
Jump to post

Re: MsiProvideComponentFromDescriptor is returning: 0

Following is my script. It is creating the sql file for me. But not writing the text that i need it to write to the file.
Thanks

---------------------------------------

Const msiViewModifyInsertTemporary = 7
Const IDOK = 1

Dim objFSO, objFolder, objShell, objFile
Dim strDirectory, strFile
Dim ...
by sramesh
Tue Apr 15, 2008 7:00 pm
Forum: Common Problems
Topic: MsiProvideComponentFromDescriptor is returning: 0
Replies: 4
Views: 6139
 
Jump to post

MsiProvideComponentFromDescriptor is returning: 0

Hi,

I have a vbscript that creates a SQL script. When I execute this script, I get the following error. The script returns 0 and continues with the install. Many of the posts that I see in the web are pertaining to the Install Shield or Impersonation.
I tried running this install with ...
by sramesh
Fri Apr 11, 2008 3:00 pm
Forum: Common Problems
Topic: Call a vbscript function from UI Custom Action
Replies: 1
Views: 4267
 
Jump to post

Call a vbscript function from UI Custom Action

Hi,

How do I call a function defined in my vbscript using the Custom Action.

I am trying to get the databases from the sqlserver and would like to populate my combobox with property DBCOMBO_PROP with the list of databases.

I tried using the new attached custom action.
Source path: C:\test ...
by sramesh
Thu Apr 10, 2008 6:00 pm
Forum: Common Problems
Topic: How to run sql scripts for multiple databases
Replies: 7
Views: 8458
 
Jump to post

Re: How to run sql scripts for multiple databases

Thank you Cosmin,

That was very helpful. I incorporated the code to select from multiple instances.

To populate the combo box with database names, I found this script and modified it. It compiled fine. I am new to vbscript and I am unable to figure out why the combo is not getting the values ...
by sramesh
Wed Apr 09, 2008 5:26 pm
Forum: Common Problems
Topic: How to run sql scripts for multiple databases
Replies: 7
Views: 8458
 
Jump to post

Re: How to run sql scripts for multiple databases

Hi,

If you are referring to getting the names of the databases from the server and using them in your project then this is not supported by Advanced Installer. However, this can be done through a custom action .



Yes. I would like to do exactly that. I want to get the list of databases from the ...

Go to advanced search