Search found 81 matches

Go to advanced search

by a.guelle
Fri Jun 05, 2015 2:54 pm
Forum: Common Problems
Topic: [solved] Writing Files from CustomAction .VBS File
Replies: 5
Views: 2247

Re: Writing Files from CustomAction .VBS File

Yes, I do. The attached failure happens at the end of installing the debugger.

It says: "Error at creating the process <C:\Program Files(x86)\Microsoft Script Debugger\msscrdbg.exe /regserver>. Reason:" I could not find any hint to it via google.
by a.guelle
Fri Jun 05, 2015 10:47 am
Forum: Common Problems
Topic: [solved] Writing Files from CustomAction .VBS File
Replies: 5
Views: 2247

Re: Writing Files from CustomAction .VBS File

Ok It works. My Custom action Execution Stage was set to "Maintenance" instead of "Install".

Regarding this: How do I debug a .VBS custom action?

The Debugger installation fails on all my machines.
by a.guelle
Fri Jun 05, 2015 10:28 am
Forum: Common Problems
Topic: [solved] Custom Action: Piping output of VBS to file
Replies: 1
Views: 1034

Re: Custom Action: Piping output of VBS to file

Ok It works. My Custom action Execution Stage was set to "Maintenance" instead of "Install".
by a.guelle
Fri Jun 05, 2015 10:11 am
Forum: Common Problems
Topic: [solved] Custom Action: Piping output of VBS to file
Replies: 1
Views: 1034

[solved] Custom Action: Piping output of VBS to file

Hi guys, Lets' assume you have a custom action that runs a batch file: MyBat.bat echo Hello World You are now able pipe this out put to a file when putting "> myFile.txt" to the Command line arguments. If your batch file calls a VBS file that produces your output with MyBat.bat CScript MyVBS.vbs MyV...
by a.guelle
Fri Jun 05, 2015 9:50 am
Forum: Common Problems
Topic: [solved] Writing Files from CustomAction .VBS File
Replies: 5
Views: 2247

[solved] Writing Files from CustomAction .VBS File

Hi Folks, The following VBScript works fine when running standalone: Set filesys = CreateObject("Scripting.FileSystemObject") Set logFile = filesys.CreateTextFile("InstallVBS.log", True) logFile.WriteLine "Hello World" logFile.Close But running it as a custom action via "Launch installed file" it do...
by a.guelle
Fri Jun 05, 2015 8:19 am
Forum: Common Problems
Topic: [solved] When is "APPDIR" available in VB script?
Replies: 3
Views: 1790

Re: When is "APPDIR" available in VB script?

Yeah information seem to be wide spreaded over the net. Passing my property as "Action Data" did not work either the property was also empty. The only way was to pass the argument to a "Launch installed file" action and this does not make sense to me. I agree that the core problem seems to be the MS...
by a.guelle
Thu Jun 04, 2015 2:26 pm
Forum: Common Problems
Topic: [solved] When is "APPDIR" available in VB script?
Replies: 3
Views: 1790

Re: When is "APPDIR" available in VB script?

I now made a workaround by launching my script drom a .VBS file. This can be run deferred AND I am able to pass [APPDIR] as an argument.

Building a dom maniplulator on VBS = 1 hour
Getting it to work from Advanced Installer = 1 day

Working with Advanced Installer is like walking on quicksand.
by a.guelle
Thu Jun 04, 2015 11:28 am
Forum: Common Problems
Topic: [solved] When is "APPDIR" available in VB script?
Replies: 3
Views: 1790

[solved] When is "APPDIR" available in VB script?

Hi Folks, am running an inline VB script that manipulates an installed file. So I need the installation directory from: Session.Property("APPDIR") It seems that this is only available if I run my custom Action with Execution Time "Immediately". But to that time my file is not installed yet. 1. How s...
by a.guelle
Thu Jun 04, 2015 9:04 am
Forum: Common Problems
Topic: [solved] Uninstallation does not remove files
Replies: 6
Views: 4019

Re: Uninstallation does not remove files

Hi Dan,

I realized that I marked all XML files as such when importing the JBoss folder. This was not necessary as I did not need to change them during the installation. After I imported all files as "normal" files instead of XML files the uninstallation worked as expected.

Thanx so far,

Angelo
by a.guelle
Tue Jun 02, 2015 3:14 pm
Forum: Common Problems
Topic: [solved] Non-deterministic behaviour on re-install
Replies: 3
Views: 1431

Re: Non-deterministic behaviour on re-install

Hi Dan,

that makes sense. So whenever I built a new package the old one was uninstalled automatically (though I did not change the ProductID). But in the seldom cases that I just ran a built package again, I got the modifying dialog.

Thanx for the explanation,

Angelo

-solved-
by a.guelle
Tue Jun 02, 2015 10:18 am
Forum: Common Problems
Topic: [solved] Uninstallation does not remove files
Replies: 6
Views: 4019

Re: Uninstallation does not remove files

The wizard method also does not clean up my directory...
by a.guelle
Tue Jun 02, 2015 10:07 am
Forum: Common Problems
Topic: [solved] Uninstallation does not remove files
Replies: 6
Views: 4019

Re: Uninstallation does not remove files

Hi Dan,

The files were created by the MSI Installer. I realized that all files left are XML files. But though they are explicitly marked for uninstallation, they stay...
by a.guelle
Mon Jun 01, 2015 2:23 pm
Forum: Common Problems
Topic: [solved] Uninstallation does not remove files
Replies: 6
Views: 4019

[solved] Uninstallation does not remove files

Hi,

when running an un-installation my previously installed files will not be removed. Maybe i accidently misconfigured something, but I have no idea where...

Doesn someone have an idea?
by a.guelle
Mon Jun 01, 2015 2:13 pm
Forum: Common Problems
Topic: [solved] Non-deterministic behaviour on re-install
Replies: 3
Views: 1431

[solved] Non-deterministic behaviour on re-install

Hi, when building an MSI package I am doing the same routine over and over again: installing, testing, modifying the MSI package and installing again. Mostly the installer automatically uninstalls the previous installation before installing the new one. Bur sometimes I does not. Then I get a dialog ...
by a.guelle
Thu May 28, 2015 6:57 am
Forum: Common Problems
Topic: SQL Server Browse: non-deterministic results
Replies: 1
Views: 973

SQL Server Browse: non-deterministic results

Hi all, When I use the SQL Server Browse feature I get different results when I ever I use it. Sometimes I get a correct list of all servers, sometimes I get wrong finds, sometimes it finds no server at all. All tests were run on the same machine and same environment. So how does the search work? Do...

Go to advanced search