Initiating self-repair on first logon
Hi all,
I've got a tough nut I can't seem to crack. The situation is as follows: the application is a document management application with users accessing it via windows explorer and the application neighborhood-type virtual folder. That means that they don't use advertized shortcuts as entry points at all. There is also no other advertizing info in the package, all has been captured as raw registry. The distribution is done via SMS and it's per machine. Now, the CurrentUser registry needs to be installed in the first execution of the application but when the user logs on, since they do not use the shortcut nothing happens.
I tried the following:
- putting RunOnce key that runs the application main config exe but that didn't trigger self repair
- putting a dummy vbs that does nothing as a non-advertized shortcut in the Startup folder
- putting a dummy vbs that does nothing as an advertized shortcut in the Startup folder - that causes self repair but it causes it on each logon and I just want it to happen on the first logon
Any thoughts? Bear in mind that there are no advertizing entry points in the package, only the shortcuts. I also had an idea to convert some entries from the registry table into advertizing but is there an easy way to do it (i.e. not painfully moving row by row manually)?
Many thanks in advance
I've got a tough nut I can't seem to crack. The situation is as follows: the application is a document management application with users accessing it via windows explorer and the application neighborhood-type virtual folder. That means that they don't use advertized shortcuts as entry points at all. There is also no other advertizing info in the package, all has been captured as raw registry. The distribution is done via SMS and it's per machine. Now, the CurrentUser registry needs to be installed in the first execution of the application but when the user logs on, since they do not use the shortcut nothing happens.
I tried the following:
- putting RunOnce key that runs the application main config exe but that didn't trigger self repair
- putting a dummy vbs that does nothing as a non-advertized shortcut in the Startup folder
- putting a dummy vbs that does nothing as an advertized shortcut in the Startup folder - that causes self repair but it causes it on each logon and I just want it to happen on the first logon
Any thoughts? Bear in mind that there are no advertizing entry points in the package, only the shortcuts. I also had an idea to convert some entries from the registry table into advertizing but is there an easy way to do it (i.e. not painfully moving row by row manually)?
Many thanks in advance
0 Comments
[ + ] Show comments
Answers (2)
Please log in to answer
Posted by:
trawler
16 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.