SQL SCRIPT ERROR - Page 2 - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

udayk
Posts: 126
Joined: Thu Jan 19, 2012 12:30 pm

Re: SQL SCRIPT ERROR

Hi Mihai,

Good response and good description for my requirement thank you,

I will attached the screen shots to explain the scenario for what i am done.

Please verify those screen shots, Is there any Wrong to build connection establishment while un installation

Thank you,
Udayk.
Attachments
I Create a CA for establish database connection and parsing Connection String<br />Driver=[\{]SQL Server[\}];Server=[RESULT_PROPERTY_1];Port=[PORT_PROP];Uid=[RESULT_PROPERTY_2];Pwd=[RESULT_PROPERTY_3];<br />This Connection String successfully establish connection while installation. <br />scheduled options : Always Execute<br />Execution Condition : REMOVE =&quot;ALL&quot;<br />Is there any Wrong to build connection establishment while uninstallation
I Create a CA for establish database connection and parsing Connection String
Driver=[\{]SQL Server[\}];Server=[RESULT_PROPERTY_1];Port=[PORT_PROP];Uid=[RESULT_PROPERTY_2];Pwd=[RESULT_PROPERTY_3];
This Connection String successfully establish connection while installation.
scheduled options : Always Execute
Execution Condition : REMOVE ="ALL"
Is there any Wrong to build connection establishment while uninstallation
CA.png (48.23 KiB) Viewed 5016 times
After Installation of, if i open the AIP file and go to Search page run Test search, i think it is successful why because i found values from registry after installation.<br />That means while the un installation mode Search properties can find those registry keys and get values, hope fully. This screen shot for public property PASSWORD_PROP. I found the value in Test search.
After Installation of, if i open the AIP file and go to Search page run Test search, i think it is successful why because i found values from registry after installation.
That means while the un installation mode Search properties can find those registry keys and get values, hope fully. This screen shot for public property PASSWORD_PROP. I found the value in Test search.
password.png (79.49 KiB) Viewed 5021 times
Last edited by udayk on Fri Feb 17, 2012 12:20 pm, edited 1 time in total.
udayk
Posts: 126
Joined: Thu Jan 19, 2012 12:30 pm

Re: SQL SCRIPT ERROR

Hi Mihai,

Good response and good description for my requirement thank you,

I will attached NEXT screen shots to explain the scenario for what i am done.

Execution Condition: Remove = "ALL"

Please verify those screen shots, Is there any Wrong to build connection establishment while un installation



Thank you,
Udayk.
Attachments
I Create a CA for establish database connection and parsing Connection String<br />Driver=[\{]SQL Server[\}];Server=[RESULT_PROPERTY_1];Port=[PORT_PROP];Uid=[RESULT_PROPERTY_2];Pwd=[RESULT_PROPERTY_3];<br />This Connection String successfully establish connection while installation. <br />scheduled options : Always Execute<br />Execution Condition : REMOVE =&quot;ALL&quot;<br />Is there any Wrong to build connection establishment while uninstallation
I Create a CA for establish database connection and parsing Connection String
Driver=[\{]SQL Server[\}];Server=[RESULT_PROPERTY_1];Port=[PORT_PROP];Uid=[RESULT_PROPERTY_2];Pwd=[RESULT_PROPERTY_3];
This Connection String successfully establish connection while installation.
scheduled options : Always Execute
Execution Condition : REMOVE ="ALL"
Is there any Wrong to build connection establishment while uninstallation
CA.png (48.23 KiB) Viewed 5014 times
After Installation of, if i open the AIP file and go to Search page run Test search, i think it is successful why because i found values from registry after installation.<br />That means while the un installation mode Search properties can find those registry keys and get values, hope fully. This screen shot for public property PASSWORD_PROP
After Installation of, if i open the AIP file and go to Search page run Test search, i think it is successful why because i found values from registry after installation.
That means while the un installation mode Search properties can find those registry keys and get values, hope fully. This screen shot for public property PASSWORD_PROP
password.png (79.49 KiB) Viewed 5019 times
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: SQL SCRIPT ERROR

Hello Udayk,

I noticed a "Launch File or Open URL" custom action( presumably ) in your screenshot. This custom action is scheduled after Uninstall standard action and it has the connection string in its "Command Line" field.
What are you using this custom action for?

After the custom action there's another custom action called "MessageBox".

You could use a "MessageBox" custom action scheduled after Uninstall standard action to debug the connection string:
http://www.advancedinstaller.com/user-g ... e-box.html

This custom action should have the following execution condition:

Code: Select all

REMOVE="ALL"
All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
udayk
Posts: 126
Joined: Thu Jan 19, 2012 12:30 pm

Re: SQL SCRIPT ERROR

I am using for this custom action to establish SQLConnection to execute SQL Scripts.

I delete "MessageBox" usage, untill completion of SQL Scripts execution while uninstallation.

you Said that in previous posts, like this...

Create and add the custom action that parses the public properties
The debug text control showing the connection string from step 2. will keep track whether the parse was successful or not


That's why i am creating CA and parsing Command line args ie Connection String

Driver=[\{][RESULT_PROPERTY_1][\}];Server=[RESULT_PROPERTY_2];Port=[RESULT_PROPERTY_3];Uid=[RESULT_PROPERTY_4];Pwd=[RESULT_PROPERTY_5];

These result properties search registry's and get the values.

Is this CA is correct or wrong...

At least Registry's and Search options are correct or not.

Please tell me.......

Thank you,
Udayk.
udayk
Posts: 126
Joined: Thu Jan 19, 2012 12:30 pm

Re: SQL SCRIPT ERROR

Hi mihai,

I need your response as early as possible.

Thank you,
Uday.
udayk
Posts: 126
Joined: Thu Jan 19, 2012 12:30 pm

Re: SQL SCRIPT ERROR

Hi Mihai,

Thank you for your support Mihai, I completed this requirement using my own script.

Thank you very much.
Uday.

Return to “Common Problems”