Search found 18 matches

Go to advanced search

by ckovamees
Tue Oct 21, 2014 4:44 pm
Forum: Building Installers
Topic: Decrypt Web.config before search?
Replies: 3
Views: 4184
 
Jump to post

Re: Decrypt Web.config before search?

Thanks.

Where would I put the decryption if it needs to run elevated before the AI_XmlLocator on an update? I tried to put after InstallValidate, but before RemoveExistingProducts, but the elevation prompt never display before my custom action. If I put it after InstallInitilize the old files are ...
by ckovamees
Thu Oct 09, 2014 3:28 pm
Forum: Building Installers
Topic: Decrypt Web.config before search?
Replies: 3
Views: 4184
 
Jump to post

Decrypt Web.config before search?

Hi,

We've been using the search feature to get values out of a Web.config for some time. Like this post http://www.advancedinstaller.com/forums/viewtopic.php?f=5&t=27742

Now, how do I decrypt the web.config before the search action is executed? Can I hook a custom action before the search ...
by ckovamees
Mon Sep 08, 2014 7:02 pm
Forum: Building Installers
Topic: Launch MSI directly when building with bootstrapper?
Replies: 6
Views: 12862
 
Jump to post

Re: Launch MSI directly when building with bootstrapper?

Thanks, that took care of the problem.

/Carl
by ckovamees
Fri Sep 05, 2014 11:29 pm
Forum: Building Installers
Topic: Launch MSI directly when building with bootstrapper?
Replies: 6
Views: 12862
 
Jump to post

Launch MSI directly when building with bootstrapper?

Hi,

I just upgraded to from 11.3 to 11.4.1 and notice a strange difference in behavior with regards to MSI/bootstrapper EXE launching.

I have a fairly large prerequisites set that is required on first install. To speed up updates sometime users just download the MSI to save time. The MSI has ...
by ckovamees
Thu Jan 23, 2014 4:46 pm
Forum: Building Installers
Topic: How to stop the application before the pre requisites check?
Replies: 24
Views: 29178
 
Jump to post

Re: How to stop the application before the pre requisites ch

Thanks - I did schedule it in both stages.

I could get it to work well enough - there were a multitude of issues. Perhaps launching more than one msi at the time, or it was the passive nature. I'm not sure - it was just hard to get it to work satisfactory.

Instead, I ended up using a cmd-script in ...
by ckovamees
Mon Jan 20, 2014 9:47 pm
Forum: Building Installers
Topic: How to stop the application before the pre requisites check?
Replies: 24
Views: 29178
 
Jump to post

Re: How to stop the application before the pre requisites ch

Hi,

I'm trying to stop a service that is running as java.exe before running a feature install. Is there a reason for why this doesn't work when using msiexec /passive to install?

I've tried StopServie custom action and Launch EXE with Working Directory to launch net stop <Servicename> without any ...
by ckovamees
Sat Jan 07, 2012 5:20 pm
Forum: Common Problems
Topic: Changing Single Path Variable on command-line?
Replies: 2
Views: 3234
 
Jump to post

Re: Changing Single Path Variable on command-line?

Thanks.

/Carl
by ckovamees
Fri Jan 06, 2012 5:11 pm
Forum: Common Problems
Topic: Changing Single Path Variable on command-line?
Replies: 2
Views: 3234
 
Jump to post

Changing Single Path Variable on command-line?

Hi,

is there a way to change a single Path Variable on the command-line instead of using the /loadpathvars option?


Thanks,


/Carl
by ckovamees
Tue Nov 22, 2011 9:17 pm
Forum: Common Problems
Topic: AI_XmlLocator not finding any file/variables?
Replies: 7
Views: 7812
 
Jump to post

Re: AI_XmlLocator not finding any file/variables?

More information, the exact same project (and compile) doesn't behave when I use the /passive option to msiexec.

According to http://www.advancedinstaller.com/user-guide/standard-actions-upgrade-std.html there should be AppSearch in both the InstallUISequence and the InstallExecuteSequence.

It ...
by ckovamees
Tue Nov 22, 2011 7:16 pm
Forum: Common Problems
Topic: AI_XmlLocator not finding any file/variables?
Replies: 7
Views: 7812
 
Jump to post

Re: AI_XmlLocator not finding any file/variables?

Additionally - perhaps I'm missing something...

But, when I run this msi unattended or from the command-line (Run as Adminsitrator) msiexec /i ..., the AI_XMLLocator is not picking up my files. When I run it by right-click the msi and selecting Install they are picked up (I do get an elevation ...
by ckovamees
Tue Nov 22, 2011 5:49 pm
Forum: Common Problems
Topic: AI_XmlLocator not finding any file/variables?
Replies: 7
Views: 7812
 
Jump to post

Re: AI_XmlLocator not finding any file/variables?

Thanks,

I just noticed that the working search used [APPDIR]Target.xml, while the not working project used a sub-directory specified with the directories property. E.g. [MySub_Dir]Target.xml.

When I changed the search path to [APPDIR]MySub\Target.xml it worked just fine!


/Carl
by ckovamees
Tue Nov 22, 2011 3:37 pm
Forum: Common Problems
Topic: AI_XmlLocator not finding any file/variables?
Replies: 7
Views: 7812
 
Jump to post

AI_XmlLocator not finding any file/variables?

I'm looking for some advice of why AI_XmlLocator would not get executed correctly in my project. I'm using 8.6 and have two XML Searches (for installed files) and one registry search.

During an upgrade it's looking for two different files. The test project finds them and reads the values everytime ...
by ckovamees
Tue Aug 09, 2011 2:39 pm
Forum: Common Problems
Topic: Updating XML-file when "preventing file being overwritten"?
Replies: 6
Views: 7445
 
Jump to post

Re: Updating XML-file when "preventing file being overwritte

I started, but there are hundred of elements/attributes and I don't think it's very maintainable... There must be a better way.

What I want is a 'XML Updater' of the restored file. I just want to add another element, or change an existing one. To have to have hundreds of variables for this seems a ...
by ckovamees
Mon Aug 08, 2011 7:13 pm
Forum: Common Problems
Topic: Updating XML-file when "preventing file being overwritten"?
Replies: 6
Views: 7445
 
Jump to post

Re: Updating XML-file when "preventing file being overwritte

Also, I just tried the XML search but it seems like the XML file (installed by the previous version) isn't found during search - so my properties doesn't show up.
by ckovamees
Mon Aug 08, 2011 3:10 pm
Forum: Common Problems
Topic: Updating XML-file when "preventing file being overwritten"?
Replies: 6
Views: 7445
 
Jump to post

Re: Updating XML-file when "preventing file being overwritte

Thanks for your help - it's good to get some input on these things.

My scenario is a little different (aren't they all ;-). I want to keep the old config file (which is fairly large), I don't want to recreate it every time since I would need to parse and insert many values (and I might forget one ...

Go to advanced search