Jump to content
Sign in to follow this  
igorm

Problem when external application launch my application

Recommended Posts

Hi,

I have problem as you see in in Topic Title. Here is my script:

If FileExists(@WorkingDir&'\office2003.reg') Then ShellExecuteWait("regedit.exe", "/s office.reg", @WorkingDir)
Exit

This application and office.reg are always in the same folder. Now when I launch my application manually everything works fine, .reg file is merged, but when some external application launch it, keys wont get merged. Can somebody say me why is this happening and how can I fix it?

Thanks in advance for help.

Cheers :)

Share this post


Link to post
Share on other sites

Thanks for help, I added this:

FileChangeDir(@WorkingDir)

so script looks like this now:

FileChangeDir(@WorkingDir)
If FileExists(@WorkingDir&'\office2003.reg') Then ShellExecuteWait("regedit.exe", "/s office2003.reg", @WorkingDir)
Exit

But this did not solve problem, it still wont get merged. Any other suggestion? Thanks.

Cheers :)

Edited by igorm

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...